summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2011-12-19 16:19:26 +0100
committerStephen Gallagher <sgallagh@redhat.com>2011-12-20 09:01:06 -0500
commit0a6755045096487bffbe4cf00eb071bdae6f3d27 (patch)
tree710eae4f3af1888c1507338de00e5ba79513154d
parent8ce0509f582935655ee2b5ad81c5905be9ef5a02 (diff)
downloadsssd-0a6755045096487bffbe4cf00eb071bdae6f3d27.tar.gz
sssd-0a6755045096487bffbe4cf00eb071bdae6f3d27.tar.bz2
sssd-0a6755045096487bffbe4cf00eb071bdae6f3d27.zip
SUDO Integration - fixed memory leak in sdap_sudo_handler()
-rw-r--r--src/providers/ldap/sdap_sudo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/providers/ldap/sdap_sudo.c b/src/providers/ldap/sdap_sudo.c
index 7d4725d6..68cb47cd 100644
--- a/src/providers/ldap/sdap_sudo.c
+++ b/src/providers/ldap/sdap_sudo.c
@@ -142,6 +142,7 @@ void sdap_sudo_handler(struct be_req *be_req)
return;
fail:
+ talloc_free(sudo_ctx);
be_req->fn(be_req, DP_ERR_FATAL, ret, NULL);
}