From f1ef398909a68c33d3cf5ff1aa4aad38ff6e0810 Mon Sep 17 00:00:00 2001 From: hexcoder Date: Wed, 11 Mar 2020 11:11:22 +0100 Subject: remove wrong call to write_to_file when aborted by user --- src/afl-showmap.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src') 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); } -- cgit 1.4.1