From 6a53ce5dd77075ebbbcca5b7558563cd6c87aa9f Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 24 Apr 2017 15:09:36 -0700 Subject: s4: torture: Add TALLOC_CTX * to torture_winbind_init(). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jeremy Allison Reviewed-by: Ralph Böhme --- nsswitch/libwbclient/tests/wbclient.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nsswitch') diff --git a/nsswitch/libwbclient/tests/wbclient.c b/nsswitch/libwbclient/tests/wbclient.c index b3c93a199c4..c5428afac43 100644 --- a/nsswitch/libwbclient/tests/wbclient.c +++ b/nsswitch/libwbclient/tests/wbclient.c @@ -925,9 +925,9 @@ static bool test_wbc_getgroups(struct torture_context *tctx) return true; } -struct torture_suite *torture_wbclient(void) +struct torture_suite *torture_wbclient(TALLOC_CTX *ctx) { - struct torture_suite *suite = torture_suite_create(talloc_autofree_context(), "wbclient"); + struct torture_suite *suite = torture_suite_create(ctx, "wbclient"); torture_suite_add_simple_test(suite, "wbcPing", test_wbc_ping); torture_suite_add_simple_test(suite, "wbcPingDc", test_wbc_pingdc); -- cgit v1.2.1