From bbd6e5596841afbeb32e8b981a73315cbfe77372 Mon Sep 17 00:00:00 2001 From: Jens Steube Date: Sun, 9 May 2021 14:55:52 +0200 Subject: [PATCH] Add missing null pointer to cuda_module_shared and opencl_program_shared in backend cleanup function --- src/backend.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/backend.c b/src/backend.c index 6d404e2b0..885f563cc 100644 --- a/src/backend.c +++ b/src/backend.c @@ -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; }