summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-04-04 15:53:46 +0200
committerStefan Metzmacher <metze@samba.org>2011-04-08 10:15:40 +0200
commiteb0e276f3a3b57405cd8cd36c74021350aba9a98 (patch)
tree1918d0015c62c16fb2fb1aa55378906d397df340
parentf9fdef870e4c49d9e6c23ba085ba6dbd34ec5469 (diff)
downloadsamba-eb0e276f3a3b57405cd8cd36c74021350aba9a98.tar.gz
samba-eb0e276f3a3b57405cd8cd36c74021350aba9a98.tar.bz2
samba-eb0e276f3a3b57405cd8cd36c74021350aba9a98.zip
talloc/testsuite: avoid memory leak reported by valgrind
metze Signed-off-By: Andrew Tridgell <tridge@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Apr 8 10:15:41 CEST 2011 on sn-devel-104
-rw-r--r--lib/talloc/testsuite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/talloc/testsuite.c b/lib/talloc/testsuite.c
index 6395e83684..ba583ab84e 100644
--- a/lib/talloc/testsuite.c
+++ b/lib/talloc/testsuite.c
@@ -1302,6 +1302,6 @@ bool torture_local_talloc(struct torture_context *tctx)
ret &= test_autofree();
test_reset();
-
+ talloc_disable_null_tracking();
return ret;
}