about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2020-10-10 11:19:45 +0200
committerhexcoder- <heiko@hexco.de>2020-10-10 11:19:45 +0200
commit5540a055c5d71d0b348a5ba33b9239ec2a8802dc (patch)
tree1cb3a0b507a2a5b21a985d6ec09b6cc38717d6bf /src
parent445aba9221471eebd7ffc2c35b97accd00b40557 (diff)
downloadafl++-5540a055c5d71d0b348a5ba33b9239ec2a8802dc.tar.gz
afl-showmap: free malloced coverage map
Diffstat (limited to 'src')
-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 f4a7c336..545bfaa9 100644
--- a/src/afl-showmap.c
+++ b/src/afl-showmap.c
@@ -1160,6 +1160,7 @@ int main(int argc, char **argv_orig, char **envp) {
   afl_fsrv_deinit(fsrv);
 
   if (stdin_file) { ck_free(stdin_file); }
+  if (collect_coverage) { free(coverage_map); }
 
   argv_cpy_free(argv);
   if (fsrv->qemu_mode) { free(use_argv[2]); }