mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-22 16:18:09 +00:00
Fixes memleak in user_options_check_files()
See https://github.com/hashcat/hashcat/pull/2671
This commit is contained in:
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…
Reference in New Issue
Block a user