summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/talloctort.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/lib/talloctort.c b/source3/lib/talloctort.c
index 013f01cc2c..ca5e9042d3 100644
--- a/source3/lib/talloctort.c
+++ b/source3/lib/talloctort.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();