summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/unixinfo.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-08-31 22:34:52 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:03:20 -0500
commit7fd416bd3e0d9cf602f441c9d4a1750544cba8e5 (patch)
treed5e4e67a1d6f04486c6f0c2445fb80b4c62601c8 /source4/torture/rpc/unixinfo.c
parentf03fdddd8872cdf25e0cd43bd9f2dd96ee2c90dc (diff)
downloadsamba-7fd416bd3e0d9cf602f441c9d4a1750544cba8e5.tar.gz
r24855: Convert RPC-DRSUAPI, RPC-SCHANNEL to use the torture API.
(This used to be commit dadcc4708e1813c0b657f1d357c2ae202ea4ec5a)
Diffstat (limited to 'source4/torture/rpc/unixinfo.c')
-rw-r--r--source4/torture/rpc/unixinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/rpc/unixinfo.c b/source4/torture/rpc/unixinfo.c
index 80d7d96a9ee..2904e8b8dfc 100644
--- a/source4/torture/rpc/unixinfo.c
+++ b/source4/torture/rpc/unixinfo.c
@@ -125,12 +125,12 @@ static bool test_gidtosid(struct torture_context *tctx, struct dcerpc_pipe *p)
return true;
}
-struct torture_suite *torture_rpc_unixinfo(void)
+struct torture_suite *torture_rpc_unixinfo(TALLOC_CTX *mem_ctx)
{
struct torture_suite *suite;
struct torture_rpc_tcase *tcase;
- suite = torture_suite_create(talloc_autofree_context(), "UNIXINFO");
+ suite = torture_suite_create(mem_ctx, "UNIXINFO");
tcase = torture_suite_add_rpc_iface_tcase(suite, "unixinfo",
&ndr_table_unixinfo);