Closed potential memory leaks. Thanks Eliska Svobodova.

This commit is contained in:
2019-08-14 11:40:53 +02:00
parent b356291700
commit 3eba8cc921
4 changed files with 7 additions and 6 deletions

View File

@ -1034,8 +1034,7 @@ int Xorriso_genisofs_hide_list(struct XorrisO *xorriso, char *whom,
}
ret= 1;
ex:;
if(flag & 1)
Xorriso_read_lines(xorriso, fp, &linecount, &argc, &argv, 2);
Xorriso_read_lines(xorriso, fp, &linecount, &argc, &argv, 2);
if(fp != NULL && fp != stdin)
fclose(fp);
if(ret<=0)