From ae5ab4a08fc598c2f49b82e692090b4f0f3efc1d Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Mon, 11 Apr 2011 20:47:34 +0200 Subject: [PATCH] Closed a memory leak of 32 kB per loaded ISO image. --- libisofs/image.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libisofs/image.c b/libisofs/image.c index cf94985..6290ea7 100644 --- a/libisofs/image.c +++ b/libisofs/image.c @@ -142,6 +142,8 @@ void iso_image_unref(IsoImage *image) free(image->biblio_file_id); if (image->used_inodes != NULL) free(image->used_inodes); + if (image->system_area_data != NULL) + free(image->system_area_data); iso_image_free_checksums(image, 0); free(image); }