mirror of
https://github.com/hashcat/hashcat.git
synced 2025-02-08 21:52:51 +00:00
CID 1402467 (#1 of 1): Resource leak
This commit is contained in:
parent
b2c9172f65
commit
dcdafdbc08
@ -233,6 +233,8 @@ static int setup_devices_filter (hashcat_ctx_t *hashcat_ctx, const char *opencl_
|
|||||||
{
|
{
|
||||||
event_log_error (hashcat_ctx, "Invalid device_id %d specified", device_id);
|
event_log_error (hashcat_ctx, "Invalid device_id %d specified", device_id);
|
||||||
|
|
||||||
|
hcfree (devices);
|
||||||
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user