diff --git a/src/outfile_check.c b/src/outfile_check.c index 6d17f3981..009b17e4d 100644 --- a/src/outfile_check.c +++ b/src/outfile_check.c @@ -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; }