From: Andrew Tridgell Date: Thu, 4 Aug 2011 02:07:19 +0000 (+1000) Subject: talloc: check block count aftter references test X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8d46b29595c4da27b175b25a08b945fbeeeab3ec;p=thirdparty%2Fsamba.git talloc: check block count aftter references test Pair-Programmed-With: Amitay Isaacs (cherry picked from commit 73677875b46251f59b66c9713f1decc89bd2ea3e) The last 7 patches address bug #8384 (Windows XP clients seem to crash smbd process every once in a while). --- diff --git a/lib/talloc/testsuite.c b/lib/talloc/testsuite.c index b038d340d1c..003d74bf6dc 100644 --- a/lib/talloc/testsuite.c +++ b/lib/talloc/testsuite.c @@ -1317,6 +1317,7 @@ static bool test_rusty(void) talloc_increase_ref_count(p1); talloc_report_full(root, stdout); talloc_free(root); + CHECK_BLOCKS("null_context", NULL, 2); return true; }