mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-16 04:49:24 +00:00
mem problem in OpenCL device management: free () the platforms string
This commit is contained in:
parent
7ed7a9dcad
commit
5594a6703c
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user