From 7c5e4c0cc56d1ed56e05368960320b7df22ce889 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Mon, 1 Oct 2012 05:01:21 +0000 Subject: - fixed crash on mirandaShutdown git-svn-id: http://svn.miranda-ng.org/main/trunk@1734 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Skype/src/skype.cpp | 2 +- protocols/Skype/src/skype_proto.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/protocols/Skype/src/skype.cpp b/protocols/Skype/src/skype.cpp index 63d19f8077..5254eaebf0 100644 --- a/protocols/Skype/src/skype.cpp +++ b/protocols/Skype/src/skype.cpp @@ -26,7 +26,7 @@ static int compare_protos(const CSkypeProto *p1, const CSkypeProto *p2) return _tcscmp(p1->m_tszUserName, p2->m_tszUserName); } -OBJLIST g_Instances(1, compare_protos); +LIST g_Instances(1, compare_protos); DWORD WINAPI DllMain(HINSTANCE hInstance, DWORD, LPVOID) { diff --git a/protocols/Skype/src/skype_proto.cpp b/protocols/Skype/src/skype_proto.cpp index 0490caa17e..962dce0167 100644 --- a/protocols/Skype/src/skype_proto.cpp +++ b/protocols/Skype/src/skype_proto.cpp @@ -30,7 +30,7 @@ CSkypeProto::CSkypeProto(const char* protoName, const TCHAR* userName) CSkypeProto::~CSkypeProto() { - //Netlib_CloseHandle(this->hNetlibUser); + Netlib_CloseHandle(this->hNetlibUser); this->hNetlibUser = NULL; CloseHandle(this->signin_lock); -- cgit v1.2.3