Closed memory leak with lack of memory during ISO image import.
Coverity CID 12571.
This commit is contained in:
parent
379e223a5c
commit
7928c4ec3f
@ -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…
Reference in New Issue
Block a user