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:
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