summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
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));