diff options
Diffstat (limited to '')
-rw-r--r-- | src/archive/bz2_archive_plugin.c | 2 | ||||
-rw-r--r-- | src/archive/iso9660_archive_plugin.c | 3 | ||||
-rw-r--r-- | src/archive/zzip_archive_plugin.c | 1 |
3 files changed, 6 insertions, 0 deletions
diff --git a/src/archive/bz2_archive_plugin.c b/src/archive/bz2_archive_plugin.c index 75b4b1ece..67cc0055c 100644 --- a/src/archive/bz2_archive_plugin.c +++ b/src/archive/bz2_archive_plugin.c @@ -182,6 +182,7 @@ bz2_open_stream(struct archive_file *file, bis->base.seekable = false; if (!bz2_alloc(bis, error_r)) { + input_stream_deinit(&bis->base); g_free(bis); return NULL; } @@ -202,6 +203,7 @@ bz2_is_close(struct input_stream *is) bz2_close(&bis->archive->base); + input_stream_deinit(&bis->base); g_free(bis); } diff --git a/src/archive/iso9660_archive_plugin.c b/src/archive/iso9660_archive_plugin.c index 38003da94..30f8e7f52 100644 --- a/src/archive/iso9660_archive_plugin.c +++ b/src/archive/iso9660_archive_plugin.c @@ -212,6 +212,9 @@ iso9660_input_close(struct input_stream *is) g_free(iis->statbuf); iso9660_archive_close(&iis->archive->base); + + input_stream_deinit(&iis->base); + g_free(iis); } diff --git a/src/archive/zzip_archive_plugin.c b/src/archive/zzip_archive_plugin.c index 7e59a0935..fdf6b677c 100644 --- a/src/archive/zzip_archive_plugin.c +++ b/src/archive/zzip_archive_plugin.c @@ -171,6 +171,7 @@ zzip_input_close(struct input_stream *is) zzip_file_close(zis->file); zzip_archive_close(&zis->archive->base); + input_stream_deinit(&zis->base); g_free(zis); } |