1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-16 04:49:24 +00:00

Merge pull request #1073 from philsmd/master

rule engine: 2 more possibly memory leaks (see previous commits)
This commit is contained in:
Jens Steube 2017-02-14 16:11:07 +01:00 committed by GitHub
commit 28f92cfada

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));
hcfree (all_kernel_rules_cnt);
hcfree (all_kernel_rules_buf);
hcfree (rule_buf);
return -1;