mirror of
https://github.com/hashcat/hashcat.git
synced 2025-01-16 18:51:00 +00:00
Fix memleak in outfile_ctx
This commit is contained in:
parent
6bc0d94f56
commit
2880217906
@ -5,6 +5,7 @@
|
|||||||
|
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
|
#include "memory.h"
|
||||||
#include "logging.h"
|
#include "logging.h"
|
||||||
#include "interface.h"
|
#include "interface.h"
|
||||||
#include "hashes.h"
|
#include "hashes.h"
|
||||||
@ -33,6 +34,8 @@ void outfile_destroy (outfile_ctx_t *outfile_ctx)
|
|||||||
outfile_ctx->filename = NULL;
|
outfile_ctx->filename = NULL;
|
||||||
outfile_ctx->outfile_format = 0;
|
outfile_ctx->outfile_format = 0;
|
||||||
outfile_ctx->outfile_autohex = 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)
|
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