diff options
author | hexcoder- <heiko@hexco.de> | 2020-04-10 15:06:31 +0200 |
---|---|---|
committer | hexcoder- <heiko@hexco.de> | 2020-04-10 15:06:31 +0200 |
commit | 5b977453cbff9778335eabaa5c2f808291a495ed (patch) | |
tree | d09032d314b1e2b4a6234a7bf52bae2e59d68214 | |
parent | a60e425d396379e6e3000341816d6be103514cfa (diff) | |
download | afl++-5b977453cbff9778335eabaa5c2f808291a495ed.tar.gz |
another mem leak fix for master/slave usage
-rw-r--r-- | src/afl-fuzz-state.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/afl-fuzz-state.c b/src/afl-fuzz-state.c index f3fc33ce..a8c14c31 100644 --- a/src/afl-fuzz-state.c +++ b/src/afl-fuzz-state.c @@ -349,6 +349,7 @@ void afl_state_deinit(afl_state_t *afl) { if (afl->post_deinit) afl->post_deinit(afl->post_data); if (afl->in_place_resume) ck_free(afl->in_dir); + if (afl->sync_id) ck_free(afl->out_dir); free(afl->out_buf); free(afl->out_scratch_buf); |