From 068cc7d4d550b91fcde89d8ce2f9b22a1bd28cc9 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 3 Mar 2007 15:01:05 +0000 Subject: r21674: Fix argument (This used to be commit 43e1cccf112f850cb70ab78f56ea1d0c233e45fa) --- source4/torture/ndr/ndr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/torture/ndr/ndr.c') diff --git a/source4/torture/ndr/ndr.c b/source4/torture/ndr/ndr.c index 1684d04d16..8e74af54f9 100644 --- a/source4/torture/ndr/ndr.c +++ b/source4/torture/ndr/ndr.c @@ -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)); -- cgit