From ff83c689cbc3216cced4e71c6f2e5e4c1a62e987 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Fri, 7 Sep 2007 16:27:57 +0000 Subject: r25004: Avoid talloc_autofree_context() when possible. (This used to be commit 79669d28a346c9ae4abc7308070b25e07fe57433) --- source4/torture/nbt/dgram.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/torture/nbt/dgram.c') diff --git a/source4/torture/nbt/dgram.c b/source4/torture/nbt/dgram.c index ee97242de5..c5b009979e 100644 --- a/source4/torture/nbt/dgram.c +++ b/source4/torture/nbt/dgram.c @@ -340,9 +340,9 @@ static bool nbt_test_ntlogon(struct torture_context *tctx) /* test nbt dgram operations */ -struct torture_suite *torture_nbt_dgram(void) +struct torture_suite *torture_nbt_dgram(TALLOC_CTX *mem_ctx) { - struct torture_suite *suite = torture_suite_create(talloc_autofree_context(), "DGRAM"); + struct torture_suite *suite = torture_suite_create(suite, "DGRAM"); torture_suite_add_simple_test(suite, "netlogon", nbt_test_netlogon); torture_suite_add_simple_test(suite, "netlogon2", nbt_test_netlogon2); -- cgit