summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_instances.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2013-06-09 22:21:47 +0000
committerAlexander Lantsev <aunsane@gmail.com>2013-06-09 22:21:47 +0000
commit5cad65e7fb3f8ffaad2355d0b85d980cc5ef07c3 (patch)
tree5ed63205ca0a718f456df8cdda9c09c4e9a8eef8 /protocols/Skype/src/skype_instances.cpp
parent2c6ee1a27c2dab1d3db454bbc2c5e43de2ec9231 (diff)
Skype:
- fixed logout from chat on miranda closing (#362) - added new chat command (moderation and etc.) - some improvements git-svn-id: http://svn.miranda-ng.org/main/trunk@4905 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_instances.cpp')
-rw-r--r--protocols/Skype/src/skype_instances.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Skype/src/skype_instances.cpp b/protocols/Skype/src/skype_instances.cpp
index aef0cb6e1e..935ecf73d0 100644
--- a/protocols/Skype/src/skype_instances.cpp
+++ b/protocols/Skype/src/skype_instances.cpp
@@ -41,14 +41,14 @@ CSkypeProto* CSkypeProto::InitSkypeProto(const char* protoName, const wchar_t* u
return NULL;
}
- ::mir_free(keyPair);
-
if ( !ppro->start())
{
::MessageBox(NULL, TranslateT("SkypeKit did not start."), _T(MODULE), MB_OK | MB_ICONERROR);
return NULL;
}
+ ::mir_free(keyPair);
+
CSkypeProto::instanceList.insert(ppro);
return ppro;