Closed a memory leak of 32 kB per loaded ISO image.
This commit is contained in:
parent
76b6737570
commit
ae5ab4a08f
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user