aboutsummaryrefslogtreecommitdiff
path: root/src/afl-fuzz-python.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/afl-fuzz-python.c')
-rw-r--r--src/afl-fuzz-python.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/afl-fuzz-python.c b/src/afl-fuzz-python.c
index 53935698..6800c0c0 100644
--- a/src/afl-fuzz-python.c
+++ b/src/afl-fuzz-python.c
@@ -346,8 +346,10 @@ u8 trim_case_python(char** argv, struct queue_entry* q, u8* in_buf) {
++trim_execs;
if (stop_soon || fault == FAULT_ERROR) {
- free(retbuf);
- goto abort_trimming;
+
+ free(retbuf);
+ goto abort_trimming;
+
}
cksum = hash32(trace_bits, MAP_SIZE, HASH_CONST);