[dovecot-cvs] dovecot/src/lib mempool.h,1.12,1.13
cras at procontrol.fi
cras at procontrol.fi
Sun Sep 21 20:26:38 EEST 2003
- Previous message: [dovecot-cvs]
dovecot/src/pop3-login client-authenticate.c,1.12,1.13
client.c,1.16,1.17
- Next message: [dovecot-cvs]
dovecot/src/lib imem.c,1.9,1.10 imem.h,1.8,1.9 mempool.h,1.13,1.14
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/dovecot/src/lib
In directory danu:/tmp/cvs-serv26759
Modified Files:
mempool.h
Log Message:
Removed pool leak checking stuff, it's not used.
Index: mempool.h
===================================================================
RCS file: /home/cvs/dovecot/src/lib/mempool.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- mempool.h 21 Sep 2003 16:21:37 -0000 1.12
+++ mempool.h 21 Sep 2003 16:26:35 -0000 1.13
@@ -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. */
@@ -68,13 +66,5 @@
p_free(pool, rec); \
(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
- Previous message: [dovecot-cvs]
dovecot/src/pop3-login client-authenticate.c,1.12,1.13
client.c,1.16,1.17
- Next message: [dovecot-cvs]
dovecot/src/lib imem.c,1.9,1.10 imem.h,1.8,1.9 mempool.h,1.13,1.14
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list