From 7c07bd61dc75529940bb55697a6c11920816ecbd Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 31 Aug 2006 09:27:03 +0000 Subject: r17959: sync with samba4 metze (This used to be commit 69a7a83b103adb1494c15a96318aa34ebd354749) --- source3/lib/talloctort.c | 2 ++ 1 file changed, 2 insertions(+) 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(); -- cgit