r21674: Fix argument
authorJelmer Vernooij <jelmer@samba.org>
Sat, 3 Mar 2007 15:01:05 +0000 (15:01 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:49:08 +0000 (14:49 -0500)
(This used to be commit 43e1cccf112f850cb70ab78f56ea1d0c233e45fa)

source4/torture/ndr/ndr.c

index 1684d04d167a15b3d245251bd1ae0705f655cae1..8e74af54f9c7c347df65406aca0996e3d800ff44 100644 (file)
@@ -245,9 +245,9 @@ static bool test_compare_uuid(struct torture_context *tctx)
        return true;
 }
 
-struct torture_suite *torture_local_ndr(void)
+struct torture_suite *torture_local_ndr(TALLOC_CTX *mem_ctx)
 {
-       struct torture_suite *suite = torture_suite_create(talloc_autofree_context(), "NDR");
+       struct torture_suite *suite = torture_suite_create(mem_ctx, "NDR");
 
        torture_suite_add_suite(suite, ndr_winreg_suite(suite));
        torture_suite_add_suite(suite, ndr_atsvc_suite(suite));