mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-26 18:08:20 +00:00
memory: we should free this memory in case of error in folder.c
This commit is contained in:
parent
dc2ecc9dae
commit
d92f8b1d82
@ -68,6 +68,7 @@
|
||||
- OpenCL Device Management: Fixed several memory leaks when initialization of a device/platform failed
|
||||
- Outfile Check: Fixed a memory leak for failed outfile reads
|
||||
- Rule Engine: Fixed several memory leaks when loading of rules failed
|
||||
- Session Management: Fixed several memory leaks when profile/install folder setup failed
|
||||
- OpenCL Header: Updated CL_* errorcode to OpenCL 1.2 standard
|
||||
- OpenCL Runtime: Updated AMDGPU-Pro driver version check, do warn if version 16.60 is detected which is known to be broken
|
||||
- OpenCL Kernel: Renumbered hash-mode 7600 to 4521
|
||||
|
@ -412,6 +412,11 @@ int folder_config_init (hashcat_ctx_t *hashcat_ctx, MAYBE_UNUSED const char *ins
|
||||
{
|
||||
event_log_error (hashcat_ctx, "%s: %s", cpath, strerror (errno));
|
||||
|
||||
hcfree (shared_dir);
|
||||
hcfree (profile_dir);
|
||||
hcfree (cpath_real);
|
||||
hcfree (session_dir);
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user