From 4668b4765530cf37289235e483f301100cc1ae21 Mon Sep 17 00:00:00 2001 From: Sumit Bose Date: Thu, 18 Apr 2013 12:43:47 +0200 Subject: Remove unused TALLOC_CTX from responder_get_domain() Recent refactoring removed the need to copy the domain info data of sub-domains because the related objects will not be removed from memory anymore. --- src/responder/autofs/autofssrv_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/responder/autofs/autofssrv_cmd.c') diff --git a/src/responder/autofs/autofssrv_cmd.c b/src/responder/autofs/autofssrv_cmd.c index 491afbb1d..e9168ea8f 100644 --- a/src/responder/autofs/autofssrv_cmd.c +++ b/src/responder/autofs/autofssrv_cmd.c @@ -448,7 +448,7 @@ setautomntent_send(TALLOC_CTX *mem_ctx, state->mapname, domname?domname:"")); if (domname) { - dctx->domain = responder_get_domain(dctx, client->rctx, domname); + dctx->domain = responder_get_domain(client->rctx, domname); if (!dctx->domain) { ret = EINVAL; goto fail; -- cgit