about summary refs log tree commit diff
path: root/src/afl-showmap.c
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-03-09 15:52:14 +0100
committervan Hauser <vh@thc.org>2020-03-09 15:52:14 +0100
commita24352ddfd16c151df48b4a0cf89ced587165f1e (patch)
tree40820b794c590d4cdf46b741fdb5259490324d43 /src/afl-showmap.c
parent2f4166367390e675e59b7231382253ca2d5ec247 (diff)
downloadafl++-a24352ddfd16c151df48b4a0cf89ced587165f1e.tar.gz
fix leaks
Diffstat (limited to 'src/afl-showmap.c')
-rw-r--r--src/afl-showmap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/afl-showmap.c b/src/afl-showmap.c
index fe520af4..90161bb3 100644
--- a/src/afl-showmap.c
+++ b/src/afl-showmap.c
@@ -1032,6 +1032,7 @@ int main(int argc, char** argv, char** envp) {
   u8 child_timed_out = fsrv->child_timed_out;
   afl_fsrv_deinit(fsrv);
   free(fsrv);
+  if (stdin_file) ck_free(stdin_file);
 
   exit(child_crashed * 2 + child_timed_out);