diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-04-06 15:25:23 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-04-06 15:25:23 +0000 |
commit | f0b6480b7c037a1c84b60fa7a0dc69461542b394 (patch) | |
tree | 430e01afb9ac157886e9f623ca9e7765292cdd9d | |
parent | 25f932f677cb223e3629d32f7a618205b65550cd (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.cpp | 2 |
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;
|