summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-03-03 15:01:05 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:49:08 -0500
commit068cc7d4d550b91fcde89d8ce2f9b22a1bd28cc9 (patch)
tree846ed697b85ec8946b2a402e660d7215c4348e99 /source4/torture
parent99fb785ea1dcf8ccc7bcbceed350178884e824b1 (diff)
downloadsamba-068cc7d4d550b91fcde89d8ce2f9b22a1bd28cc9.tar.gz
samba-068cc7d4d550b91fcde89d8ce2f9b22a1bd28cc9.tar.bz2
samba-068cc7d4d550b91fcde89d8ce2f9b22a1bd28cc9.zip
r21674: Fix argument
(This used to be commit 43e1cccf112f850cb70ab78f56ea1d0c233e45fa)
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/ndr/ndr.c4
1 files changed, 2 insertions, 2 deletions
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));