From 906bcf52f99c609f89aeb288c7e20d90d2d65cf8 Mon Sep 17 00:00:00 2001 From: jsteube Date: Tue, 14 Feb 2017 17:18:57 +0100 Subject: [PATCH] CID 1402488 (#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 914d8b27a..e3b305e51 100644 --- a/src/opencl.c +++ b/src/opencl.c @@ -318,6 +318,8 @@ static int read_kernel_binary (hashcat_ctx_t *hashcat_ctx, const char *kernel_fi { event_log_error (hashcat_ctx, "%s: %s", kernel_file, strerror (errno)); + hcfree (buf); + return -1; }