Mercurial > dovecot > core-2.2
changeset 1783:46d2094ac470 HEAD
Removed pool leak checking stuff, it's not used.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 21 Sep 2003 19:26:35 +0300 |
parents | 2f3d906d99d8 |
children | 0e72d6ab85ad |
files | src/lib/mempool.h |
diffstat | 1 files changed, 0 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib/mempool.h Sun Sep 21 19:21:36 2003 +0300 +++ b/src/lib/mempool.h Sun Sep 21 19:26:35 2003 +0300 @@ -3,8 +3,6 @@ #include "macros.h" -/* #define POOL_CHECK_LEAKS */ - /* Memory allocated and reallocated (the new data in it) in pools is always zeroed, it will cost only a few CPU cycles and may well save some debug time. */ @@ -69,12 +67,4 @@ (rec) = NULL; \ } STMT_END -/* p_free_clean() should be used when pool is being destroyed, so freeing - memory isn't needed for anything else than detecting memory leaks. */ -#ifdef POOL_CHECK_LEAKS -# define p_free_clean(pool, mem) p_free(pool, mem) -#else -# define p_free_clean(pool, mem) #endif - -#endif