talloc_link: close memory leak in test.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 23 Aug 2011 02:51:10 +0000 (12:21 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 23 Aug 2011 02:51:10 +0000 (12:21 +0930)
ccan/talloc_link/test/run.c

index 3cbb5f01e1839c7dc3085d9f41b0655f2655959a..d36bd6adec67fc1ecb00af1759856490810bdf9d 100644 (file)
@@ -112,5 +112,7 @@ int main(int argc, char *argv[])
        /* No leaks? */
        ok1(talloc_total_size(NULL) == 0);
 
+       talloc_disable_null_tracking();
+
        return exit_status();
 }