svn commit: samba r17923 - in branches/SAMBA_3_0/source/lib: .
metze at samba.org
metze at samba.org
Tue Aug 29 17:17:02 GMT 2006
Author: metze
Date: 2006-08-29 17:17:02 +0000 (Tue, 29 Aug 2006)
New Revision: 17923
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17923
Log:
turn on null_tracking with the first talloc_init() call,
(this needs to be moved to a samba3 specific place)
I commit this because I habe no time to test smbcontrol .... pool-usage
and don't want to break it. I'll try to find a better fix tomorrow.
metze
Modified:
branches/SAMBA_3_0/source/lib/talloc.c
Changeset:
Modified: branches/SAMBA_3_0/source/lib/talloc.c
===================================================================
--- branches/SAMBA_3_0/source/lib/talloc.c 2006-08-29 16:54:12 UTC (rev 17922)
+++ branches/SAMBA_3_0/source/lib/talloc.c 2006-08-29 17:17:02 UTC (rev 17923)
@@ -492,6 +492,9 @@
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;
More information about the samba-cvs
mailing list