summaryrefslogtreecommitdiff
path: root/src/xline.cpp
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2012-07-08 14:53:33 +0200
committerattilamolnar <attilamolnar@hush.com>2012-08-25 01:49:32 +0200
commit10fad422df7991eabe1026df96a6e7ac6a46ae4e (patch)
treebc9abfa1811961c2e806ee501a423863e1e0687b /src/xline.cpp
parent2879d35dcbdcb2c583e08b591874869b4daaca4e (diff)
Remove unnecessary cleanup in XLineManager destructor
Diffstat (limited to 'src/xline.cpp')
-rw-r--r--src/xline.cpp5
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)