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:
parent
ddace83b41
commit
1b41e6aba3
3
src/rp.c
3
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));
|
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;
|
||||||
|
Loading…
Reference in New Issue
Block a user