diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-08-31 06:30:51 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:39:43 -0500 |
commit | bd2a4f1d23c3ac029f241b167116b8dfff2a99d9 (patch) | |
tree | 7cf025de8ecd6e160cd744e60ce6e449b0e7dc7d | |
parent | c94718ecf860923a7857d8cb6821bd6a61ea00f9 (diff) | |
download | samba-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)
-rw-r--r-- | source3/lib/talloc.c | 6 |
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); |