From 9fa85abf24cda9681cbe3ceb1cdb2da50ca05644 Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Thu, 7 May 2015 17:14:12 +0000 Subject: SkypeWeb: Leaks fix (thx wishmaster) git-svn-id: http://svn.miranda-ng.org/main/trunk@13477 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/SkypeWeb/src/skype_proto.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'protocols/SkypeWeb/src/skype_proto.cpp') diff --git a/protocols/SkypeWeb/src/skype_proto.cpp b/protocols/SkypeWeb/src/skype_proto.cpp index e0659f175a..407c9ea566 100644 --- a/protocols/SkypeWeb/src/skype_proto.cpp +++ b/protocols/SkypeWeb/src/skype_proto.cpp @@ -98,7 +98,6 @@ DWORD_PTR CSkypeProto::GetCaps(int type, MCONTACT) case PFLAG_UNIQUEIDSETTING: return (DWORD_PTR)SKYPE_SETTINGS_ID; } - return 0; } @@ -296,8 +295,7 @@ int CSkypeProto::OnPreShutdown(WPARAM, LPARAM) CallService(MS_NETLIB_SHUTDOWN, (WPARAM)m_pollingConnection, 0); if (m_TrouterConnection) CallService(MS_NETLIB_SHUTDOWN, (WPARAM)m_TrouterConnection, 0); - if (m_timer) - SkypeUnsetTimer(this); + SkypeUnsetTimer(this); requestQueue->Stop(); -- cgit v1.2.3