From 35fd6847fe99c2f7bbec247c71b44babcdcab2b8 Mon Sep 17 00:00:00 2001 From: hexcoder- Date: Thu, 12 Nov 2020 21:51:44 +0100 Subject: another two mem leaks --- custom_mutators/symcc/symcc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'custom_mutators/symcc') diff --git a/custom_mutators/symcc/symcc.c b/custom_mutators/symcc/symcc.c index 18b475b8..f32f98f8 100644 --- a/custom_mutators/symcc/symcc.c +++ b/custom_mutators/symcc/symcc.c @@ -41,6 +41,7 @@ my_mutator_t *afl_custom_init(afl_state_t *afl, unsigned int seed) { if ((data->mutator_buf = malloc(MAX_FILE)) == NULL) { + free(data); perror("mutator_buf alloc"); return NULL; -- cgit 1.4.1