1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-12 12:23:50 +03:00

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 commit is contained in:
Martin Pool
-
parent 412e79c448
commit e76d27fcdb
5 changed files with 833 additions and 788 deletions

View File

@@ -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"