about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorhexcoder <hexcoder-@users.noreply.github.com>2020-03-11 11:11:22 +0100
committerGitHub <noreply@github.com>2020-03-11 11:11:22 +0100
commitf1ef398909a68c33d3cf5ff1aa4aad38ff6e0810 (patch)
tree527797bb61ad7b6782788c1af1673f5c2dab294a /src
parent66e8faaaa935fa3f206c0ced70671390ef11cac8 (diff)
downloadafl++-f1ef398909a68c33d3cf5ff1aa4aad38ff6e0810.tar.gz
remove wrong call to write_to_file when aborted by user
Diffstat (limited to 'src')
-rw-r--r--src/afl-showmap.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/afl-showmap.c b/src/afl-showmap.c
index acddbbc7..0007af4d 100644
--- a/src/afl-showmap.c
+++ b/src/afl-showmap.c
@@ -331,7 +331,6 @@ static u8 run_target_forkserver(afl_forkserver_t *fsrv, char **argv, u8 *mem,
   if (stop_soon) {
 
     SAYF(cRST cLRD "\n+++ afl-showmap folder mode aborted by user +++\n" cRST);
-    close(write_to_file(fsrv->out_file, in_data, in_len));
     exit(1);
 
   }