mirror of
https://github.com/hashcat/hashcat.git
synced 2025-02-23 04:52:03 +00:00
CID 1402488 (#1 of 1): Resource leak
This commit is contained in:
parent
7f3d107129
commit
906bcf52f9
@ -318,6 +318,8 @@ static int read_kernel_binary (hashcat_ctx_t *hashcat_ctx, const char *kernel_fi
|
|||||||
{
|
{
|
||||||
event_log_error (hashcat_ctx, "%s: %s", kernel_file, strerror (errno));
|
event_log_error (hashcat_ctx, "%s: %s", kernel_file, strerror (errno));
|
||||||
|
|
||||||
|
hcfree (buf);
|
||||||
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user