summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/talloc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/lib/talloc.c b/source3/lib/talloc.c
index 2fb8fb2530..c25fbbfbbb 100644
--- a/source3/lib/talloc.c
+++ b/source3/lib/talloc.c
@@ -492,6 +492,9 @@ void *talloc_init(const char *fmt, ...)
void *ptr;
const char *name;
+ /* FIXME: move this into a samba3 specifiy file */
+ talloc_enable_null_tracking();
+
ptr = _talloc(NULL, 0);
if (ptr == NULL) return NULL;