From 1136e887bdf77ed64bd3eac28bf7f86705dd2a6d Mon Sep 17 00:00:00 2001 From: Dominik Maier Date: Mon, 9 Mar 2020 21:34:11 +0100 Subject: now wiht 90% less leaks --- include/afl-prealloc.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/afl-prealloc.h') 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 #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; \ \ } \ -- cgit 1.4.1