]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
talloc: check block count aftter references test
authorAndrew Tridgell <tridge@samba.org>
Thu, 4 Aug 2011 02:07:19 +0000 (12:07 +1000)
committerKarolin Seeger <kseeger@samba.org>
Sat, 20 Aug 2011 18:57:20 +0000 (20:57 +0200)
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
(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).

lib/talloc/testsuite.c

index b038d340d1c1d7d7357f84a56eb87edc54864750..003d74bf6dc31adafcda2c7bd322aa5dd6bfcc3f 100644 (file)
@@ -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;
 }