summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-08-31 06:30:51 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:39:43 -0500
commitbd2a4f1d23c3ac029f241b167116b8dfff2a99d9 (patch)
tree7cf025de8ecd6e160cd744e60ce6e449b0e7dc7d /source3
parentc94718ecf860923a7857d8cb6821bd6a61ea00f9 (diff)
downloadsamba-bd2a4f1d23c3ac029f241b167116b8dfff2a99d9.tar.gz
samba-bd2a4f1d23c3ac029f241b167116b8dfff2a99d9.tar.bz2
samba-bd2a4f1d23c3ac029f241b167116b8dfff2a99d9.zip
r17949: change the comment, talloc_enable_null_tracking() should
stay here. metze (This used to be commit 8eff4787428fddf83cd9d7ea07645f8640157db2)
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);