mirror of
https://github.com/NLnetLabs/unbound.git
synced 2024-09-21 22:57:08 +00:00
Fix unbound-host compile with --enable-alloc-checks.
git-svn-id: file:///svn/unbound/trunk@1836 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
aae91da6d2
commit
75fbd42ca3
@ -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.
|
||||
|
@ -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 <ldns/ldns.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user