mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-19 14:48:10 +00:00
Merge pull request #1068 from philsmd/master
memory: we should free this memory in case of error in folder.c
This commit is contained in:
commit
ddf3725abc
@ -68,6 +68,7 @@
|
|||||||
- OpenCL Device Management: Fixed several memory leaks when initialization of a device/platform failed
|
- OpenCL Device Management: Fixed several memory leaks when initialization of a device/platform failed
|
||||||
- Outfile Check: Fixed a memory leak for failed outfile reads
|
- Outfile Check: Fixed a memory leak for failed outfile reads
|
||||||
- Rule Engine: Fixed several memory leaks when loading of rules failed
|
- 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 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 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
|
- 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));
|
event_log_error (hashcat_ctx, "%s: %s", cpath, strerror (errno));
|
||||||
|
|
||||||
|
hcfree (shared_dir);
|
||||||
|
hcfree (profile_dir);
|
||||||
|
hcfree (cpath_real);
|
||||||
|
hcfree (session_dir);
|
||||||
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user