mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05: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
2 changed files with 10 additions and 0 deletions
|
|
@ -1,3 +1,6 @@
|
||||||
|
17 September 2009: Wouter
|
||||||
|
- fix compile of unbound-host when --enable-alloc-checks.
|
||||||
|
|
||||||
16 September 2009: Wouter
|
16 September 2009: Wouter
|
||||||
- Fix memory leak reported by Tao Ma.
|
- Fix memory leak reported by Tao Ma.
|
||||||
- Fix memstats test tool for log-time-ascii log format.
|
- Fix memstats test tool for log-time-ascii log format.
|
||||||
|
|
|
||||||
|
|
@ -41,6 +41,13 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "config.h"
|
#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 "libunbound/unbound.h"
|
||||||
#include <ldns/ldns.h>
|
#include <ldns/ldns.h>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue