1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-23 23:19:09 +00:00

mem problem in OpenCL device management: free () the platforms string

This commit is contained in:
philsmd 2017-02-14 12:17:33 +01:00
parent 7ed7a9dcad
commit 5594a6703c
No known key found for this signature in database
GPG Key ID: 4F25D016D9D6A8AF

View File

@ -192,6 +192,8 @@ static int setup_opencl_platforms_filter (hashcat_ctx_t *hashcat_ctx, const char
{
event_log_error (hashcat_ctx, "Invalid OpenCL platform %d specified", platform);
hcfree (platforms);
return -1;
}