From f66f5352a25b77e4a930d39e3ba9c260efedf14b Mon Sep 17 00:00:00 2001 From: midipix Date: Wed, 17 Jul 2024 05:45:36 +0000 Subject: write mode: implemented generation of the cpio archive format. --- src/driver/tpax_driver_ctx.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/driver') 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); } -- cgit v1.2.3