diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/inspircd.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 7efbaa54f..dc139fa0d 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -40,6 +40,7 @@ #include "socket.h" #include "typedefs.h" #include "command_parse.h" +#include <dlfcn.h> using irc::sockets::NonBlocking; using irc::sockets::Blocking; @@ -343,6 +344,7 @@ void InspIRCd::EraseFactory(int j) { if (v == j) { + delete *t; factory.erase(t); factory.push_back(NULL); return; |