summaryrefslogtreecommitdiff
path: root/source4/lib/talloc
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/talloc')
-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 013f01cc2c..ca5e9042d3 100644
--- a/source4/lib/talloc/testsuite.c
+++ b/source4/lib/talloc/testsuite.c
@@ -910,6 +910,7 @@ static BOOL test_loop(void)
printf("FAILED TO FIRE LOOP DESTRUCTOR\n");
return False;
}
+ loop_destructor_count = 0;
return True;
}
@@ -1021,6 +1022,7 @@ BOOL torture_local_talloc(struct torture_context *torture)
{
BOOL ret = True;
+ talloc_disable_null_tracking();
talloc_enable_null_tracking();
ret &= test_ref1();