summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-06-21 17:49:34 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:09:14 -0500
commitca17b875b3b442704625f85afdd154c9b756ca5d (patch)
tree6950f1c51129f156dee35c5a5e2ca3f3afb7be50 /source4
parenta94f2fc7e77a009ee52636e769970ec621d15f19 (diff)
downloadsamba-ca17b875b3b442704625f85afdd154c9b756ca5d.tar.gz
samba-ca17b875b3b442704625f85afdd154c9b756ca5d.tar.bz2
samba-ca17b875b3b442704625f85afdd154c9b756ca5d.zip
r16442: if we want to use CHECK_SIZE(NULL, 3)
we need null tracking, so enable it explicit before running any tests metze (This used to be commit f3cd971ab70c3edee4da87b8ca38ec215c8bff49)
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/talloc/testsuite.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/lib/talloc/testsuite.c b/source4/lib/talloc/testsuite.c
index f1b19041fa..334aa3c2e1 100644
--- a/source4/lib/talloc/testsuite.c
+++ b/source4/lib/talloc/testsuite.c
@@ -891,6 +891,8 @@ BOOL torture_local_talloc(struct torture_context *torture)
{
BOOL ret = True;
+ talloc_enable_null_tracking();
+
ret &= test_ref1();
ret &= test_ref2();
ret &= test_ref3();