From 5a2e7f2a3a8d14bd685472cea98c8aad84fbeb2d Mon Sep 17 00:00:00 2001 From: jsteube Date: Tue, 14 Feb 2017 17:02:08 +0100 Subject: [PATCH] CID 1402490 (#1 of 1): Resource leak --- src/opencl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/opencl.c b/src/opencl.c index e56feec44..9166e055b 100644 --- a/src/opencl.c +++ b/src/opencl.c @@ -274,6 +274,8 @@ static int setup_device_types_filter (hashcat_ctx_t *hashcat_ctx, const char *op { event_log_error (hashcat_ctx, "Invalid device_type %d specified", device_type); + hcfree (device_types); + return -1; }