about summary refs log tree commit diff
path: root/src/afl-showmap.c
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-04-17 07:52:21 +0200
committervan Hauser <vh@thc.org>2020-04-17 07:52:21 +0200
commit16ce55584512274804eadd71b4790be3d1bfbf97 (patch)
treeed95fbfa7c7c3d064e7fdcc5e87bbccd895db4c1 /src/afl-showmap.c
parentc961925356bf3388066969b9975b424c4cdae890 (diff)
downloadafl++-16ce55584512274804eadd71b4790be3d1bfbf97.tar.gz
fixed 2 unimportant 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 f43beb1b..21e18061 100644
--- a/src/afl-showmap.c
+++ b/src/afl-showmap.c
@@ -877,6 +877,7 @@ int main(int argc, char **argv_orig, char **envp) {
   if (stdin_file) ck_free(stdin_file);
 
   argv_cpy_free(argv);
+  if (fsrv->qemu_mode) free(use_argv[2]);
 
   exit(ret);