diff options
author | Adam <Adam@anope.org> | 2011-03-13 22:59:50 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-03-13 22:59:50 -0400 |
commit | 4fe49af8401b956249d924b89b3e69bce5fb6744 (patch) | |
tree | 41b5dd5df552dab0eed37bab5cfb81233bf04367 /modules/extra/m_ldap.cpp | |
parent | beabbb3a209874ce04d7ee3c2948ad80b8282383 (diff) |
Fixed a crash in m_ldap is unloaded
Diffstat (limited to 'modules/extra/m_ldap.cpp')
-rw-r--r-- | modules/extra/m_ldap.cpp | 2 |
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(); } |