mirror of
https://github.com/hashcat/hashcat.git
synced 2025-06-01 21:58:47 +00:00
Merge pull request #1073 from philsmd/master
rule engine: 2 more possibly memory leaks (see previous commits)
This commit is contained in:
commit
28f92cfada
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