fixed numerous leaks

This commit is contained in:
Dominik Maier
2020-03-09 19:27:22 +01:00
committed by Dominik Maier
parent a24352ddfd
commit 782cffb130
5 changed files with 124 additions and 23 deletions

View File

@ -233,7 +233,7 @@ u8 trim_case_custom(afl_state_t* afl, struct queue_entry* q, u8* in_buf) {
if (afl->stop_soon || fault == FAULT_ERROR) {
free(retbuf);
ck_free(retbuf);
goto abort_trimming;
}
@ -272,7 +272,7 @@ u8 trim_case_custom(afl_state_t* afl, struct queue_entry* q, u8* in_buf) {
}
free(retbuf);
ck_free(retbuf);
/* Since this can be slow, update the screen every now and then. */