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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user