ipa-kdb: Fix memory leak
This commit is contained in:
1 parent
9afe4b98da
commit
9f07404fe3
1 file changed
+1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user