summaryrefslogtreecommitdiffstats
path: root/source/torture/ndr
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-03-03 15:01:05 +0000
committerJelmer Vernooij <jelmer@samba.org>2007-03-03 15:01:05 +0000
commit2ad3be70ffb825d4d616bc4a8e3ac77e4c9f50af (patch)
treee88ad395c1ed19dd2096a5a9bfce02675e578721 /source/torture/ndr
parentc1ba929e63fd82f046697a169b0f873afefc95db (diff)
downloadsamba-2ad3be70ffb825d4d616bc4a8e3ac77e4c9f50af.tar.gz
samba-2ad3be70ffb825d4d616bc4a8e3ac77e4c9f50af.tar.xz
samba-2ad3be70ffb825d4d616bc4a8e3ac77e4c9f50af.zip
r21674: Fix argument
Diffstat (limited to 'source/torture/ndr')
-rw-r--r--source/torture/ndr/ndr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/torture/ndr/ndr.c b/source/torture/ndr/ndr.c
index 1684d04d167..8e74af54f9c 100644
--- a/source/torture/ndr/ndr.c
+++ b/source/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));