diff --git a/doc/Changelog b/doc/Changelog index c23f713df..67d9ae118 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,6 @@ +17 September 2009: Wouter + - fix compile of unbound-host when --enable-alloc-checks. + 16 September 2009: Wouter - Fix memory leak reported by Tao Ma. - Fix memstats test tool for log-time-ascii log format. diff --git a/smallapp/unbound-host.c b/smallapp/unbound-host.c index 7fd21e155..470fd7eac 100644 --- a/smallapp/unbound-host.c +++ b/smallapp/unbound-host.c @@ -41,6 +41,13 @@ */ #include "config.h" +/* remove alloc checks, not in this part of the code */ +#ifdef UNBOUND_ALLOC_STATS +#undef malloc +#undef calloc +#undef free +#undef realloc +#endif #include "libunbound/unbound.h" #include