mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-15 04:23:06 +00:00
Fix memleak in outfile_ctx
This commit is contained in:
parent
6bc0d94f56
commit
2880217906
@ -5,6 +5,7 @@
|
||||
|
||||
#include "common.h"
|
||||
#include "types.h"
|
||||
#include "memory.h"
|
||||
#include "logging.h"
|
||||
#include "interface.h"
|
||||
#include "hashes.h"
|
||||
@ -33,6 +34,8 @@ void outfile_destroy (outfile_ctx_t *outfile_ctx)
|
||||
outfile_ctx->filename = NULL;
|
||||
outfile_ctx->outfile_format = 0;
|
||||
outfile_ctx->outfile_autohex = 0;
|
||||
|
||||
myfree (outfile_ctx);
|
||||
}
|
||||
|
||||
void outfile_format_plain (outfile_ctx_t *outfile_ctx, const unsigned char *plain_ptr, const uint plain_len)
|
||||
|
Loading…
Reference in New Issue
Block a user