svn commit: samba r17950 - in branches/SAMBA_4_0/source/lib/talloc: .

metze at samba.org metze at samba.org
Thu Aug 31 06:33:55 GMT 2006


Author: metze
Date: 2006-08-31 06:33:54 +0000 (Thu, 31 Aug 2006)
New Revision: 17950

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17950

Log:
sync talloc with samba3

metze
Modified:
   branches/SAMBA_4_0/source/lib/talloc/talloc.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/talloc/talloc.c
===================================================================
--- branches/SAMBA_4_0/source/lib/talloc/talloc.c	2006-08-31 06:30:51 UTC (rev 17949)
+++ branches/SAMBA_4_0/source/lib/talloc/talloc.c	2006-08-31 06:33:54 UTC (rev 17950)
@@ -492,6 +492,13 @@
 	void *ptr;
 	const char *name;
 
+	/*
+	 * 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);
 	if (ptr == NULL) return NULL;
 



More information about the samba-cvs mailing list