1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 06:53:14 +02:00

Fixed a memory leak in m_ldap

This commit is contained in:
Adam
2012-01-31 16:19:47 -05:00
parent be5ba495f9
commit ce2a0f72d4
+1
View File
@@ -291,6 +291,7 @@ class LDAPService : public LDAPProvider, public Thread, public Condition
attrs.push_back(vals[j]->bv_val);
attributes[attr] = attrs;
ldap_value_free_len(vals);
ldap_memfree(attr);
}
if (ber != NULL)