diff options
author | Adam <Adam@anope.org> | 2012-01-31 16:19:47 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-01-31 16:19:47 -0500 |
commit | ce2a0f72d423341cf44b3daf8464ba1503653d3b (patch) | |
tree | c44bf035ea115cb29971b2ebe8bfde5662ec6f3a | |
parent | be5ba495f9319c3fbd388e2ecbc5af60bebb60d7 (diff) |
Fixed a memory leak in m_ldap
-rw-r--r-- | modules/extra/m_ldap.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/extra/m_ldap.cpp b/modules/extra/m_ldap.cpp index 835215533..ab0aaa928 100644 --- a/modules/extra/m_ldap.cpp +++ b/modules/extra/m_ldap.cpp @@ -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) |