diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-08-29 17:17:02 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:38:59 -0500 |
commit | 164a7600512d85bb9871f71131927802bbbd879d (patch) | |
tree | 4a7156a8a989b996422c6ce01f4865ab25263dec /source3 | |
parent | 9c8a9d0ac4cb062e8de25a5dbaed823e597a128f (diff) | |
download | samba-164a7600512d85bb9871f71131927802bbbd879d.tar.gz samba-164a7600512d85bb9871f71131927802bbbd879d.tar.bz2 samba-164a7600512d85bb9871f71131927802bbbd879d.zip |
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)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/talloc.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; |