summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-04-06 15:25:23 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-04-06 15:25:23 +0000
commitf0b6480b7c037a1c84b60fa7a0dc69461542b394 (patch)
tree430e01afb9ac157886e9f623ca9e7765292cdd9d
parent25f932f677cb223e3629d32f7a618205b65550cd (diff)
SkypeWeb: crash fix.
git-svn-id: http://svn.miranda-ng.org/main/trunk@12634 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--protocols/SkypeWeb/src/skype_avatars.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/SkypeWeb/src/skype_avatars.cpp b/protocols/SkypeWeb/src/skype_avatars.cpp
index eb034906aa..bdc8e2e45a 100644
--- a/protocols/SkypeWeb/src/skype_avatars.cpp
+++ b/protocols/SkypeWeb/src/skype_avatars.cpp
@@ -35,6 +35,8 @@ void CSkypeProto::ReloadAvatarInfo(MCONTACT hContact)
void CSkypeProto::OnReceiveAvatar(const NETLIBHTTPREQUEST *response, void *arg)
{
+ if (response == NULL)
+ return;
MCONTACT hContact = (MCONTACT)arg;
if (response->resultCode != 200)
return;