aboutsummaryrefslogtreecommitdiff
path: root/include/afl-prealloc.h
diff options
context:
space:
mode:
authorDominik Maier <domenukk@gmail.com>2020-03-09 21:34:11 +0100
committerDominik Maier <domenukk@gmail.com>2020-03-09 21:34:11 +0100
commit1136e887bdf77ed64bd3eac28bf7f86705dd2a6d (patch)
tree2c7d0e877c1e6f4fb09e268ca0a194c41bc91f23 /include/afl-prealloc.h
parent416020daefb2587fe071a456e1dbb8ffbb007e6a (diff)
downloadAFLplusplus-1136e887bdf77ed64bd3eac28bf7f86705dd2a6d.tar.gz
now wiht 90% less leaks
Diffstat (limited to 'include/afl-prealloc.h')
-rw-r--r--include/afl-prealloc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/afl-prealloc.h b/include/afl-prealloc.h
index 02de0344..ab86f0d7 100644
--- a/include/afl-prealloc.h
+++ b/include/afl-prealloc.h
@@ -32,6 +32,7 @@
#include <string.h>
#include "debug.h"
+#include "alloc-inl.h"
typedef enum prealloc_status {
@@ -123,7 +124,7 @@ typedef enum prealloc_status {
case PRE_STATUS_MALLOC: { \
\
(el_ptr)->pre_status = PRE_STATUS_UNUSED; \
- ck_free((el_ptr)); \
+ DFL_ck_free((el_ptr)); \
break; \
\
} \