From f0b6480b7c037a1c84b60fa7a0dc69461542b394 Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Mon, 6 Apr 2015 15:25:23 +0000 Subject: SkypeWeb: crash fix. git-svn-id: http://svn.miranda-ng.org/main/trunk@12634 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/SkypeWeb/src/skype_avatars.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'protocols') 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; -- cgit v1.2.3