Add missing null pointer to cuda_module_shared and opencl_program_shared in backend cleanup function

pull/2639/head^2
Jens Steube 3 years ago
parent 78a053800f
commit bbd6e55968

@ -11243,6 +11243,7 @@ void backend_session_destroy (hashcat_ctx_t *hashcat_ctx)
device_param->cuda_module = NULL;
device_param->cuda_module_mp = NULL;
device_param->cuda_module_amp = NULL;
device_param->cuda_module_shared = NULL;
device_param->cuda_context = NULL;
}
@ -11381,6 +11382,7 @@ void backend_session_destroy (hashcat_ctx_t *hashcat_ctx)
device_param->opencl_program = NULL;
device_param->opencl_program_mp = NULL;
device_param->opencl_program_amp = NULL;
device_param->opencl_program_shared = NULL;
device_param->opencl_command_queue = NULL;
device_param->opencl_context = NULL;
}

Loading…
Cancel
Save