summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/extra/m_ldap.cpp1
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)