summaryrefslogtreecommitdiff
path: root/plugins/MyDetails/src/data.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MyDetails/src/data.cpp')
-rw-r--r--plugins/MyDetails/src/data.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/MyDetails/src/data.cpp b/plugins/MyDetails/src/data.cpp
index 21cb1ac189..f6f59da5a1 100644
--- a/plugins/MyDetails/src/data.cpp
+++ b/plugins/MyDetails/src/data.cpp
@@ -40,6 +40,8 @@ void InitProtocolData()
void DeInitProtocolData()
{
+ for (auto &it : protocols)
+ delete it;
protocols.destroy();
}
@@ -335,7 +337,7 @@ wchar_t *Protocol::GetListeningTo()
// ProtocolDataArray Class /////////////////////////////////////////////////////////////////////////////
ProtocolArray::ProtocolArray() :
- OBJLIST<Protocol>(10)
+ LIST<Protocol>(10)
{
GetDefaultNick();
GetDefaultAvatar();