CID 991761: potential double close (and white space fix)
This commit is contained in:
parent
d32cb23734
commit
eda1d21fde
|
@ -240,6 +240,7 @@ chop_file(int fdin, char *fname, off_t fsize)
|
|||
}
|
||||
}
|
||||
|
||||
// close up the last output file
|
||||
// close up the last output file if it's still open
|
||||
if (!open_next_file)
|
||||
close(fdout);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue