mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-14 19:08:08 +00:00
fixed numerous leaks
This commit is contained in:
committed by
Dominik Maier
parent
a24352ddfd
commit
782cffb130
@ -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. */
|
||||
|
||||
|
Reference in New Issue
Block a user