From dcdafdbc0864bc6e8e5c121ee5b2571e18903cc5 Mon Sep 17 00:00:00 2001 From: jsteube Date: Tue, 14 Feb 2017 17:01:13 +0100 Subject: [PATCH] CID 1402467 (#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 5236e9c23..e56feec44 100644 --- a/src/opencl.c +++ b/src/opencl.c @@ -233,6 +233,8 @@ static int setup_devices_filter (hashcat_ctx_t *hashcat_ctx, const char *opencl_ { event_log_error (hashcat_ctx, "Invalid device_id %d specified", device_id); + hcfree (devices); + return -1; }