1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-01 20:38:14 +00:00

Release kernel_memset when finished

This commit is contained in:
jsteube 2016-05-26 17:08:00 +02:00
parent 9f821aa3d2
commit 911c8ae1db

View File

@ -17814,6 +17814,7 @@ int main (int argc, char **argv)
if (device_param->kernel_mp_r) hc_clReleaseKernel (data.ocl, device_param->kernel_mp_r); if (device_param->kernel_mp_r) hc_clReleaseKernel (data.ocl, device_param->kernel_mp_r);
if (device_param->kernel_tm) hc_clReleaseKernel (data.ocl, device_param->kernel_tm); if (device_param->kernel_tm) hc_clReleaseKernel (data.ocl, device_param->kernel_tm);
if (device_param->kernel_amp) hc_clReleaseKernel (data.ocl, device_param->kernel_amp); if (device_param->kernel_amp) hc_clReleaseKernel (data.ocl, device_param->kernel_amp);
if (device_param->kernel_memset) hc_clReleaseKernel (data.ocl, device_param->kernel_memset);
if (device_param->program) hc_clReleaseProgram (data.ocl, device_param->program); if (device_param->program) hc_clReleaseProgram (data.ocl, device_param->program);
if (device_param->program_mp) hc_clReleaseProgram (data.ocl, device_param->program_mp); if (device_param->program_mp) hc_clReleaseProgram (data.ocl, device_param->program_mp);