From b2c9172f656c77e7f7708343d9150e749b08e69e Mon Sep 17 00:00:00 2001 From: jsteube Date: Tue, 14 Feb 2017 16:58:18 +0100 Subject: [PATCH] Fix missing free() in pidfile.c --- src/pidfile.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pidfile.c b/src/pidfile.c index f23d53ccd..106820a0b 100644 --- a/src/pidfile.c +++ b/src/pidfile.c @@ -31,6 +31,8 @@ static int check_running_process (hashcat_ctx_t *hashcat_ctx) { event_log_error (hashcat_ctx, "Cannot read %s", pidfile_filename); + hcfree (pd); + return -1; }