summaryrefslogtreecommitdiff
path: root/modules/extra/m_ldap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/extra/m_ldap.cpp')
-rw-r--r--modules/extra/m_ldap.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/extra/m_ldap.cpp b/modules/extra/m_ldap.cpp
index 47c0c4067..aeb0500e3 100644
--- a/modules/extra/m_ldap.cpp
+++ b/modules/extra/m_ldap.cpp
@@ -221,6 +221,8 @@ class ModuleLDAP : public Module, public Pipe
{
it->second->SetExitState();
it->second->Wakeup();
+ it->second->Join();
+ delete it->second;
}
LDAPServices.clear();
}