gzip(1): Remove duplicate close()
CID: 1383560 Reported by: Coverity Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
2ccd1dd900
commit
611ecc623b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=326786
@ -1444,7 +1444,6 @@ file_uncompress(char *file, char *outfile, size_t outsize)
|
|||||||
goto lose;
|
goto lose;
|
||||||
}
|
}
|
||||||
if (fstat(fd, &isb) != 0) {
|
if (fstat(fd, &isb) != 0) {
|
||||||
close(fd);
|
|
||||||
maybe_warn("can't stat %s", file);
|
maybe_warn("can't stat %s", file);
|
||||||
goto lose;
|
goto lose;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user