mirror of
https://github.com/hashcat/hashcat.git
synced 2024-12-23 07:08:19 +00:00
if fstat () fails we shouldn't forget to close the file
This commit is contained in:
parent
bcb05697c0
commit
d20079bfe1
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user