From 164a7600512d85bb9871f71131927802bbbd879d Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 29 Aug 2006 17:17:02 +0000 Subject: r17923: 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 (This used to be commit ae313ab4caa5652199b9aaceb30b4d432ab4f393) --- source3/lib/talloc.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source3') diff --git a/source3/lib/talloc.c b/source3/lib/talloc.c index 2fb8fb2530..c25fbbfbbb 100644 --- a/source3/lib/talloc.c +++ b/source3/lib/talloc.c @@ -492,6 +492,9 @@ void *talloc_init(const char *fmt, ...) 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; -- cgit