1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-23 07:08:19 +00:00

Merge pull request #1078 from philsmd/master

if fstat () fails we shouldn't forget to close the file
This commit is contained in:
Jens Steube 2017-02-14 17:08:25 +01:00 committed by GitHub
commit a3efaa219c

View File

@ -144,7 +144,7 @@ static int outfile_remove (hashcat_ctx_t *hashcat_ctx)
if (hc_fstat (fileno (fp), &outfile_stat))
{
close (fp);
fclose (fp);
continue;
}