Browse Source

Closed memory leak with lack of memory during ISO image import.

Coverity CID 12571.
release-1.5.4.branch
Thomas Schmitt 6 years ago
parent
commit
7928c4ec3f
  1. 1
      libisofs/fs_image.c

1
libisofs/fs_image.c

@ -5920,6 +5920,7 @@ int iso_image_import(IsoImage *image, IsoDataSource *src,
if (bootcat->size > 0) {
bootcat->content = calloc(1, bootcat->size);
if (bootcat->content == NULL) {
free(node);
ret = ISO_OUT_OF_MEM;
goto import_revert;
}

Loading…
Cancel
Save