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:
commit
663235a02a
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user