1
0
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:
Jens Steube 2020-02-29 10:39:28 +01:00
parent f381e1bbf8
commit 1da40bf5d8

View File

@ -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;