summaryrefslogtreecommitdiff
path: root/source4/lib/talloc/testsuite.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-07-15 13:28:52 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:10:09 -0500
commitcab68a413b55818c3ed5003832d65f976abce28f (patch)
tree0346354cabc4bc9e40c0c414e473fb49e3bd8c85 /source4/lib/talloc/testsuite.c
parent624544f06561a5fcf374dd29d26838642bee0670 (diff)
downloadsamba-cab68a413b55818c3ed5003832d65f976abce28f.tar.gz
samba-cab68a413b55818c3ed5003832d65f976abce28f.tar.bz2
samba-cab68a413b55818c3ed5003832d65f976abce28f.zip
r17061: - remove the currect talloc chunk from it's parent before freeing the children
this fixes an endless loop bug! - reenable the test for this should I merge this to samba3? metze (This used to be commit 0559222b62930765519aaab5d33609ece29014d6)
Diffstat (limited to 'source4/lib/talloc/testsuite.c')
-rw-r--r--source4/lib/talloc/testsuite.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/lib/talloc/testsuite.c b/source4/lib/talloc/testsuite.c
index 477d9a5848..2b04f66fc4 100644
--- a/source4/lib/talloc/testsuite.c
+++ b/source4/lib/talloc/testsuite.c
@@ -845,9 +845,8 @@ static BOOL test_lifeless(void)
talloc_report_full(top, stdout);
talloc_free(top);
talloc_free(child_owner);
-#if 0
talloc_free(child);
-#endif
+
return True;
}