1
0
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:
jsteube 2016-09-30 12:23:03 +02:00
parent 6bc0d94f56
commit 2880217906

View File

@ -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)