From bd2a4f1d23c3ac029f241b167116b8dfff2a99d9 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 31 Aug 2006 06:30:51 +0000 Subject: r17949: change the comment, talloc_enable_null_tracking() should stay here. metze (This used to be commit 8eff4787428fddf83cd9d7ea07645f8640157db2) --- source3/lib/talloc.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'source3/lib/talloc.c') 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); -- cgit