mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-22 16:18:09 +00:00
Fix double close() in hc_fclose()
This commit is contained in:
parent
f381e1bbf8
commit
1da40bf5d8
@ -443,8 +443,6 @@ void hc_fclose (HCFILE *fp)
|
|||||||
fclose (fp->pfp);
|
fclose (fp->pfp);
|
||||||
}
|
}
|
||||||
|
|
||||||
close (fp->fd);
|
|
||||||
|
|
||||||
fp->fd = -1;
|
fp->fd = -1;
|
||||||
fp->pfp = NULL;
|
fp->pfp = NULL;
|
||||||
fp->is_gzip = false;
|
fp->is_gzip = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user