summaryrefslogtreecommitdiffstats
path: root/src/responder/autofs
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2013-04-18 12:43:47 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-05-02 19:33:56 +0200
commit4668b4765530cf37289235e483f301100cc1ae21 (patch)
treeeaad011be91af70cde2fc0c723a132a5f9229c2a /src/responder/autofs
parent4e748c28dec6fcb732ebe24829f1b750074d488e (diff)
downloadsssd-4668b4765530cf37289235e483f301100cc1ae21.tar.gz
sssd-4668b4765530cf37289235e483f301100cc1ae21.tar.xz
sssd-4668b4765530cf37289235e483f301100cc1ae21.zip
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.
Diffstat (limited to 'src/responder/autofs')
-rw-r--r--src/responder/autofs/autofssrv_cmd.c2
1 files changed, 1 insertions, 1 deletions
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:"<ALL>"));
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;