]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
Fix unbound-host compile with --enable-alloc-checks.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 17 Sep 2009 10:50:44 +0000 (10:50 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 17 Sep 2009 10:50:44 +0000 (10:50 +0000)
git-svn-id: file:///svn/unbound/trunk@1836 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
smallapp/unbound-host.c

index c23f713df6e24c132e54b1e228db6fb80c895ece..67d9ae118249f6cb30bed8eba6fd1c2bbea0657b 100644 (file)
@@ -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.
index 7fd21e15518e2165a01d0b917272e01e9891694c..470fd7eac13d8aef13a65590253606cad6e9e0ef 100644 (file)
  */
 
 #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 <ldns/ldns.h>