talloc/testsuite: avoid memory leak reported by valgrind
authorStefan Metzmacher <metze@samba.org>
Mon, 4 Apr 2011 13:53:46 +0000 (15:53 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 12 Apr 2011 06:38:59 +0000 (08:38 +0200)
metze

Signed-off-By: Andrew Tridgell <tridge@samba.org>
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Apr  8 10:15:41 CEST 2011 on sn-devel-104
(cherry picked from commit eb0e276f3a3b57405cd8cd36c74021350aba9a98)

lib/talloc/testsuite.c

index 6395e83684ea63e11cbc65cf7513543f05df23fd..ba583ab84ec1815fcc63f8d373f03bc388a5214a 100644 (file)
@@ -1302,6 +1302,6 @@ bool torture_local_talloc(struct torture_context *tctx)
        ret &= test_autofree();
 
        test_reset();
-
+       talloc_disable_null_tracking();
        return ret;
 }