Closed a memory leak of 32 kB per loaded ISO image.

This commit is contained in:
Thomas Schmitt 2011-04-11 20:47:34 +02:00
parent 76b6737570
commit ae5ab4a08f

View File

@ -142,6 +142,8 @@ void iso_image_unref(IsoImage *image)
free(image->biblio_file_id); free(image->biblio_file_id);
if (image->used_inodes != NULL) if (image->used_inodes != NULL)
free(image->used_inodes); free(image->used_inodes);
if (image->system_area_data != NULL)
free(image->system_area_data);
iso_image_free_checksums(image, 0); iso_image_free_checksums(image, 0);
free(image); free(image);
} }