1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-26 01:50:10 +00:00

Hash Parser: Fixed a memory leak in shutdown phase

This commit is contained in:
jsteube 2018-01-31 16:40:48 +01:00
parent 9136d23f2a
commit e2654efaa7
2 changed files with 3 additions and 0 deletions

View File

@ -47,6 +47,7 @@
- Files: Copy include/ folder and its content when SHARED is set to 1 in Makefile - Files: Copy include/ folder and its content when SHARED is set to 1 in Makefile
- Files: Switched back to relative current working directory on windows to work around problems with unicode characters - Files: Switched back to relative current working directory on windows to work around problems with unicode characters
- Hash Parser: Changed the way large strings are handled/truncated within the event buffer if they are too large to fit - Hash Parser: Changed the way large strings are handled/truncated within the event buffer if they are too large to fit
- Hash Parser: Fixed a memory leak in shutdown phase
- Hash Parser: Fixed the use of strtok_r () calls - Hash Parser: Fixed the use of strtok_r () calls
- OpenCL Devices: Fixed several memory leaks in shutdown phase - OpenCL Devices: Fixed several memory leaks in shutdown phase
- OpenCL Runtime: Updated rocm detection - OpenCL Runtime: Updated rocm detection

View File

@ -1750,6 +1750,8 @@ void hashes_destroy (hashcat_ctx_t *hashcat_ctx)
{ {
hcfree (hashes->hash_info[hash_pos]->split); hcfree (hashes->hash_info[hash_pos]->split);
} }
hcfree (hashes->hash_info[hash_pos]);
} }
} }