summaryrefslogtreecommitdiff
path: root/src/responder/ssh
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/ssh
parent4e748c28dec6fcb732ebe24829f1b750074d488e (diff)
downloadsssd-4668b4765530cf37289235e483f301100cc1ae21.tar.gz
sssd-4668b4765530cf37289235e483f301100cc1ae21.tar.bz2
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/ssh')
-rw-r--r--src/responder/ssh/sshsrv_cmd.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/responder/ssh/sshsrv_cmd.c b/src/responder/ssh/sshsrv_cmd.c
index e0ce3c9b..671160ea 100644
--- a/src/responder/ssh/sshsrv_cmd.c
+++ b/src/responder/ssh/sshsrv_cmd.c
@@ -71,8 +71,7 @@ sss_ssh_cmd_get_user_pubkeys(struct cli_ctx *cctx)
}
if (cmd_ctx->domname) {
- cmd_ctx->domain = responder_get_domain(cmd_ctx, cctx->rctx,
- cmd_ctx->domname);
+ cmd_ctx->domain = responder_get_domain(cctx->rctx, cmd_ctx->domname);
if (!cmd_ctx->domain) {
ret = ENOENT;
goto done;
@@ -114,8 +113,7 @@ sss_ssh_cmd_get_host_pubkeys(struct cli_ctx *cctx)
cmd_ctx->domname ? cmd_ctx->domname : "<ALL>"));
if (cmd_ctx->domname) {
- cmd_ctx->domain = responder_get_domain(cmd_ctx, cctx->rctx,
- cmd_ctx->domname);
+ cmd_ctx->domain = responder_get_domain(cctx->rctx, cmd_ctx->domname);
if (!cmd_ctx->domain) {
ret = ENOENT;
goto done;