summaryrefslogtreecommitdiff
path: root/src/sss_client/ssh
diff options
context:
space:
mode:
authorJan Zeleny <jzeleny@redhat.com>2012-03-07 07:59:52 -0500
committerStephen Gallagher <sgallagh@redhat.com>2012-03-09 14:17:12 -0500
commit0a9c4827cbd0cfa8efc1bc99bc3571f3724b958a (patch)
tree75d67c7d2b769eec9e7c8a9d4c653732f5b04527 /src/sss_client/ssh
parentf7c447525eb8c2e34ddd34395be0773565d74cf5 (diff)
downloadsssd-0a9c4827cbd0cfa8efc1bc99bc3571f3724b958a.tar.gz
sssd-0a9c4827cbd0cfa8efc1bc99bc3571f3724b958a.tar.bz2
sssd-0a9c4827cbd0cfa8efc1bc99bc3571f3724b958a.zip
Fixed resource leak in ssh client code
Diffstat (limited to 'src/sss_client/ssh')
-rw-r--r--src/sss_client/ssh/sss_ssh_client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sss_client/ssh/sss_ssh_client.c b/src/sss_client/ssh/sss_ssh_client.c
index 82507787..41b20e76 100644
--- a/src/sss_client/ssh/sss_ssh_client.c
+++ b/src/sss_client/ssh/sss_ssh_client.c
@@ -227,6 +227,7 @@ sss_ssh_get_ent(TALLOC_CTX *mem_ctx,
done:
talloc_free(tmp_ctx);
+ free(rep);
return ret;
}