From 4c45939aa78f60049a0fb0b74e09d5aae915647f Mon Sep 17 00:00:00 2001 From: Christopher Schmitt Date: Tue, 30 May 2017 12:19:43 -0400 Subject: [PATCH] opencl_ctx_devices_destroy should be before opencl_ctx_destroy --- src/hashcat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hashcat.c b/src/hashcat.c index 604ee5f1b..700c5a097 100644 --- a/src/hashcat.c +++ b/src/hashcat.c @@ -1216,8 +1216,8 @@ int hashcat_session_destroy (hashcat_ctx_t *hashcat_ctx) induct_ctx_destroy (hashcat_ctx); logfile_destroy (hashcat_ctx); loopback_destroy (hashcat_ctx); - opencl_ctx_destroy (hashcat_ctx); opencl_ctx_devices_destroy (hashcat_ctx); + opencl_ctx_destroy (hashcat_ctx); outcheck_ctx_destroy (hashcat_ctx); outfile_destroy (hashcat_ctx); pidfile_ctx_destroy (hashcat_ctx);