diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-05-07 17:14:12 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-05-07 17:14:12 +0000 |
commit | 9fa85abf24cda9681cbe3ceb1cdb2da50ca05644 (patch) | |
tree | fc152026608e88b81577b18c33e750c2fa9bd0a9 /protocols/SkypeWeb/src/skype_proto.cpp | |
parent | 4322e60a76440683afc694c1df0f2ccc8de726c3 (diff) |
SkypeWeb: Leaks fix (thx wishmaster)
git-svn-id: http://svn.miranda-ng.org/main/trunk@13477 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_proto.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/skype_proto.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
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();
|