1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-18 14:18:11 +00:00

Merge pull request #1063 from philsmd/master

mem problem in OpenCL device management: free () the platforms string
This commit is contained in:
Jens Steube 2017-02-14 12:21:58 +01:00 committed by GitHub
commit 663235a02a

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); event_log_error (hashcat_ctx, "Invalid OpenCL platform %d specified", platform);
hcfree (platforms);
return -1; return -1;
} }