mirror of
https://github.com/hashcat/hashcat.git
synced 2024-12-24 23:48:39 +00:00
Fix skipped device param leak in backend_ctx_devices_destroy
This commit is contained in:
parent
5f109b5862
commit
bcbb9b0d2c
@ -7399,8 +7399,6 @@ void backend_ctx_devices_destroy (hashcat_ctx_t *hashcat_ctx)
|
|||||||
{
|
{
|
||||||
hc_device_param_t *device_param = &backend_ctx->devices_param[backend_devices_idx];
|
hc_device_param_t *device_param = &backend_ctx->devices_param[backend_devices_idx];
|
||||||
|
|
||||||
if (device_param->skipped == true) continue;
|
|
||||||
|
|
||||||
hcfree (device_param->device_name);
|
hcfree (device_param->device_name);
|
||||||
|
|
||||||
if (device_param->is_opencl == true)
|
if (device_param->is_opencl == true)
|
||||||
|
Loading…
Reference in New Issue
Block a user