diff options
author | Simo Sorce <ssorce@redhat.com> | 2011-10-21 12:43:30 -0400 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2012-01-11 12:04:15 -0500 |
commit | 4f7b4c17f265410176db2ba0752c7197c5f2ba09 (patch) | |
tree | 332e789131de1df4b2929c65f6280b31fc5e8d50 /daemons | |
parent | 7813945e5d3cb785b5e6e664c498c322b4474480 (diff) | |
download | freeipa.git-4f7b4c17f265410176db2ba0752c7197c5f2ba09.tar.gz freeipa.git-4f7b4c17f265410176db2ba0752c7197c5f2ba09.tar.xz freeipa.git-4f7b4c17f265410176db2ba0752c7197c5f2ba09.zip |
ipa-kdb: Fix memory leak
Diffstat (limited to 'daemons')
-rw-r--r-- | daemons/ipa-kdb/ipa_kdb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/daemons/ipa-kdb/ipa_kdb.c b/daemons/ipa-kdb/ipa_kdb.c index 880a7890..6a6c2063 100644 --- a/daemons/ipa-kdb/ipa_kdb.c +++ b/daemons/ipa-kdb/ipa_kdb.c @@ -262,6 +262,7 @@ int ipadb_get_connection(struct ipadb_context *ipactx) ret = 0; done: + ldap_msgfree(res); if (ret) { if (ipactx->lcontext) { ldap_unbind_ext_s(ipactx->lcontext, NULL, NULL); |