diff options
author | attilamolnar <attilamolnar@hush.com> | 2012-07-08 14:53:33 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2012-08-25 01:49:32 +0200 |
commit | 10fad422df7991eabe1026df96a6e7ac6a46ae4e (patch) | |
tree | bc9abfa1811961c2e806ee501a423863e1e0687b | |
parent | 2879d35dcbdcb2c583e08b591874869b4daaca4e (diff) |
Remove unnecessary cleanup in XLineManager destructor
-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) |