From cc0846f967f268764bff280f64d5cb47b716d796 Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Thu, 20 Dec 2001 04:01:44 +0000 Subject: Add --enable-dmalloc to link against the dmalloc malloc debugger. It's not as strong as Insure, but it's free, reasonably efficient and works on every platform. (This used to be commit e76d27fcdb33df5212ca5b0ce53c77ed8ca58906) --- source3/lib/talloc.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'source3/lib') diff --git a/source3/lib/talloc.c b/source3/lib/talloc.c index 7d7ec86cc2..8496170daf 100644 --- a/source3/lib/talloc.c +++ b/source3/lib/talloc.c @@ -45,7 +45,13 @@ * memory it contains all in one allocation, which might be a bit * faster and perhaps use less memory overhead. * - * That smells like a premature optimization, though. -- mbp */ + * That smells like a premature optimization, though. -- mbp + **/ + +/** + * If you want testing for memory corruption, link with dmalloc or use + * Insure++. It doesn't seem useful to duplicate them here. + **/ #include "includes.h" -- cgit