summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_proto.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2013-05-10 15:07:47 +0000
committerAlexander Lantsev <aunsane@gmail.com>2013-05-10 15:07:47 +0000
commit32cc6d62a154d5724c40085f22747df2ee2ff4cb (patch)
treef47241b283331f42b0955de792493e8139925a73 /protocols/Skype/src/skype_proto.cpp
parent763272b5a51b73eedb013c209ad256f85afc8fd2 (diff)
- fixed several issues in own details saving
- fixed issues with contacts look cycle in db - fixed freez offline status after login error - other few bugs git-svn-id: http://svn.miranda-ng.org/main/trunk@4621 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_proto.cpp')
-rw-r--r--protocols/Skype/src/skype_proto.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/protocols/Skype/src/skype_proto.cpp b/protocols/Skype/src/skype_proto.cpp
index 692f924a54..1dfa99c3c5 100644
--- a/protocols/Skype/src/skype_proto.cpp
+++ b/protocols/Skype/src/skype_proto.cpp
@@ -6,6 +6,8 @@ CSkypeProto::CSkypeProto(const char* protoName, const TCHAR* userName)
this->rememberPassword = false;
+ ::InitializeCriticalSection(&this->cl_loading);
+
this->SetAllContactStatus(ID_STATUS_OFFLINE);
DBEVENTTYPEDESCR dbEventType = { sizeof(dbEventType) };
@@ -26,6 +28,8 @@ CSkypeProto::CSkypeProto(const char* protoName, const TCHAR* userName)
CSkypeProto::~CSkypeProto()
{
+ ::DeleteCriticalSection(&this->cl_loading);
+
::mir_free(this->login);
if (this->password)
{