1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-01-11 08:10:59 +00:00

rule engine: 2 more possibly memory leaks (see previous commits)

This commit is contained in:
philsmd 2017-02-14 16:07:33 +01:00
parent ddace83b41
commit 1b41e6aba3
No known key found for this signature in database
GPG Key ID: 4F25D016D9D6A8AF

View File

@ -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)); event_log_error (hashcat_ctx, "%s: %s", rp_file, strerror (errno));
hcfree (all_kernel_rules_cnt);
hcfree (all_kernel_rules_buf);
hcfree (rule_buf); hcfree (rule_buf);
return -1; return -1;