summaryrefslogtreecommitdiff
path: root/src/nickcore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/nickcore.cpp')
-rw-r--r--src/nickcore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nickcore.cpp b/src/nickcore.cpp
index f92d4739c..dcd324846 100644
--- a/src/nickcore.cpp
+++ b/src/nickcore.cpp
@@ -63,7 +63,7 @@ NickCore::~NickCore()
if (!this->memos.memos->empty())
{
for (unsigned i = 0, end = this->memos.memos->size(); i < end; ++i)
- this->memos.GetMemo(i)->Destroy();
+ delete this->memos.GetMemo(i);
this->memos.memos->clear();
}
}