Fixes memleak in user_options_check_files()

See https://github.com/hashcat/hashcat/pull/2671
pull/2624/head^2
Jens Steube 3 years ago
parent 520d0ae398
commit 5d7dc3cbc1

@ -2933,8 +2933,12 @@ int user_options_check_files (hashcat_ctx_t *hashcat_ctx)
{ {
event_log_error (hashcat_ctx, "%s: %s", temp_filename, strerror (errno)); event_log_error (hashcat_ctx, "%s: %s", temp_filename, strerror (errno));
hcfree (temp_filename);
return -1; return -1;
} }
hcfree (temp_filename);
} }
// return back to the folder we came from initially (workaround) // return back to the folder we came from initially (workaround)

Loading…
Cancel
Save