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; }