diff --git a/src/rp.c b/src/rp.c index 2104de813..88fe093b8 100644 --- a/src/rp.c +++ b/src/rp.c @@ -735,6 +735,9 @@ int kernel_rules_load (hashcat_ctx_t *hashcat_ctx, kernel_rule_t **out_buf, u32 { event_log_error (hashcat_ctx, "%s: %s", rp_file, strerror (errno)); + hcfree (all_kernel_rules_cnt); + hcfree (all_kernel_rules_buf); + hcfree (rule_buf); return -1;