summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/talloc.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source3/lib/talloc.c b/source3/lib/talloc.c
index c25fbbfbbb..b7284e9317 100644
--- a/source3/lib/talloc.c
+++ b/source3/lib/talloc.c
@@ -492,7 +492,11 @@ void *talloc_init(const char *fmt, ...)
void *ptr;
const char *name;
- /* FIXME: move this into a samba3 specifiy file */
+ /*
+ * samba3 expects talloc_report_depth_cb(NULL, ...)
+ * reports all talloc'ed memory, so we need to enable
+ * null_tracking
+ */
talloc_enable_null_tracking();
ptr = _talloc(NULL, 0);