mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-15 11:28:08 +00:00
Reworked maybe_grow to take a single ptr, renamed to afl_realloc (#505)
* maybe_grow takes a single ptr * fixed use_deflate * reworked maybe_grow_bufsize * helper to access underlying buf * remove redundant realloc_block * code format * fixes * added unit tests * renamed maybe_grow to afl_realloc * BUF_PARAMS -> AFL_BUF_PARAM
This commit is contained in:
@ -122,9 +122,8 @@ void destroy_custom_mutators(afl_state_t *afl) {
|
||||
|
||||
if (el->post_process_buf) {
|
||||
|
||||
ck_free(el->post_process_buf);
|
||||
afl_free(el->post_process_buf);
|
||||
el->post_process_buf = NULL;
|
||||
el->post_process_size = 0;
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user