ipa-kdb: Fix memory leak

This commit is contained in:
Simo Sorce committed 2011-11-03 09:51:30 -04:00
1 parent 9afe4b98da
commit 9f07404fe3
1 file changed
+1
+1
View File
@@ -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);