Make talloctort call talloc_describe_all before exiting
authorMartin Pool <mbp@samba.org>
Thu, 3 Jan 2002 05:57:02 +0000 (05:57 +0000)
committerMartin Pool <mbp@samba.org>
Thu, 3 Jan 2002 05:57:02 +0000 (05:57 +0000)
(This used to be commit 4877501da92762d233e5e4f24d1cb2bdd1eab8ae)

source3/lib/talloctort.c

index 427e7dee70b4bd540f492e017e450cd3293a7277..131a086bfbd69c7cba89e66917dcbdb5751e2e81 100644 (file)
@@ -56,6 +56,8 @@ int main(void)
                       talloc_pool_size(ctx[i]) >> 10);
        }
 
                       talloc_pool_size(ctx[i]) >> 10);
        }
 
+       printf("%s", talloc_describe_all(ctx[0]));
+
        for (i = NCTX - 1; i >= 0; i--)
                talloc_destroy(ctx[i]);
 
        for (i = NCTX - 1; i >= 0; i--)
                talloc_destroy(ctx[i]);