summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_dialogs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/SkypeWeb/src/skype_dialogs.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_dialogs.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/skype_dialogs.cpp b/protocols/SkypeWeb/src/skype_dialogs.cpp
index 9cf2c4f2ec..6df224fe80 100644
--- a/protocols/SkypeWeb/src/skype_dialogs.cpp
+++ b/protocols/SkypeWeb/src/skype_dialogs.cpp
@@ -64,8 +64,7 @@ CSkypeGCCreateDlg::CSkypeGCCreateDlg(CSkypeProto *proto) :
}
CSkypeGCCreateDlg::~CSkypeGCCreateDlg()
{
- for (int i = 0; i < m_ContactsList.getCount(); i++)
- mir_free(m_ContactsList[i]);
+ CSkypeProto::FreeCharList(m_ContactsList);
m_ContactsList.destroy();
}