diff options
-rw-r--r-- | src/xline.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/xline.cpp b/src/xline.cpp index 720dbcc50..655b2f940 100644 --- a/src/xline.cpp +++ b/src/xline.cpp @@ -502,8 +502,6 @@ XLineManager::~XLineManager() for(unsigned int i=0; i < sizeof(gekqz); i++) { XLineFactory* xlf = GetFactory(std::string(1, gekqz[i])); - if (xlf) - UnregisterFactory(xlf); delete xlf; } @@ -514,10 +512,7 @@ XLineManager::~XLineManager() { delete j->second; } - i->second.clear(); } - lookup_lines.clear(); - } void XLine::Apply(User* u) |