mirror of
https://github.com/hashcat/hashcat.git
synced 2025-05-29 12:18:53 +00:00
Replace free() with hcfree()
This commit is contained in:
parent
e352a79a05
commit
1ee222d43f
@ -5064,7 +5064,7 @@ int run_opencl_kernel_memset (hashcat_ctx_t *hashcat_ctx, hc_device_param_t *dev
|
||||
/* blocking */
|
||||
rc = hc_clEnqueueWriteBuffer (hashcat_ctx, device_param->opencl_command_queue, buf, CL_TRUE, offset, size, tmp, 0, NULL, NULL);
|
||||
|
||||
free(tmp);
|
||||
hcfree (tmp);
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -5096,7 +5096,7 @@ int run_opencl_kernel_memset32 (hashcat_ctx_t *hashcat_ctx, hc_device_param_t *d
|
||||
/* blocking */
|
||||
rc = hc_clEnqueueWriteBuffer (hashcat_ctx, device_param->opencl_command_queue, buf, CL_TRUE, offset * sizeof (u32), size * sizeof (u32), tmp, 0, NULL, NULL);
|
||||
|
||||
free(tmp);
|
||||
hcfree (tmp);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -331,7 +331,7 @@ int check_hash (hashcat_ctx_t *hashcat_ctx, hc_device_param_t *device_param, pla
|
||||
|
||||
if (rc == -1)
|
||||
{
|
||||
free(tmps);
|
||||
hcfree (tmps);
|
||||
|
||||
return -1;
|
||||
}
|
||||
@ -348,7 +348,7 @@ int check_hash (hashcat_ctx_t *hashcat_ctx, hc_device_param_t *device_param, pla
|
||||
|
||||
if (rc == -1)
|
||||
{
|
||||
free(tmps);
|
||||
hcfree (tmps);
|
||||
|
||||
return -1;
|
||||
}
|
||||
@ -365,7 +365,7 @@ int check_hash (hashcat_ctx_t *hashcat_ctx, hc_device_param_t *device_param, pla
|
||||
|
||||
if (rc == -1)
|
||||
{
|
||||
free(tmps);
|
||||
hcfree (tmps);
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user