diff options
author | midipix <writeonce@midipix.org> | 2024-07-17 05:45:36 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2024-07-17 05:45:36 +0000 |
commit | f66f5352a25b77e4a930d39e3ba9c260efedf14b (patch) | |
tree | 5ee48a09d311982e223a3c43299293d0aa262c68 /src/driver | |
parent | 19fba4c00b514a0c25e6b3537a7dded39d2cc79a (diff) | |
download | tpax-f66f5352a25b77e4a930d39e3ba9c260efedf14b.tar.bz2 tpax-f66f5352a25b77e4a930d39e3ba9c260efedf14b.tar.xz |
write mode: implemented generation of the cpio archive format.
Diffstat (limited to 'src/driver')
-rw-r--r-- | src/driver/tpax_driver_ctx.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/driver/tpax_driver_ctx.c b/src/driver/tpax_driver_ctx.c index 74db70d..6a5f882 100644 --- a/src/driver/tpax_driver_ctx.c +++ b/src/driver/tpax_driver_ctx.c @@ -872,10 +872,6 @@ int tpax_lib_get_driver_ctx( return tpax_driver_error_not_implemented( fdctx->fderr,program,"the pax format",meta); - case TPAX_DRIVER_WRITE_FORMAT_CPIO: - return tpax_driver_error_not_implemented( - fdctx->fderr,program,"the cpio format",meta); - default: break; } @@ -954,6 +950,9 @@ static void tpax_free_driver_ctx_impl(struct tpax_driver_ctx_alloc * ictx) if (ictx->ctx.direntv) free(ictx->ctx.direntv); + if (ictx->ctx.cpiov) + free(ictx->ctx.cpiov); + argv_free(ictx->meta); free(ictx); } |