]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
Removed pool leak checking stuff, it's not used.
authorTimo Sirainen <tss@iki.fi>
Sun, 21 Sep 2003 16:26:35 +0000 (19:26 +0300)
committerTimo Sirainen <tss@iki.fi>
Sun, 21 Sep 2003 16:26:35 +0000 (19:26 +0300)
--HG--
branch : HEAD

src/lib/mempool.h

index 03f0856ae88550079442705b6885d1e95d887ae7..179fa664b831695348d49882d756b29496e6e8b3 100644 (file)
@@ -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 @@ pool_t pool_datastack_create(void);
           (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