From e9a8795aed41e22c74d7bbcd0f9705ecdb885461 Mon Sep 17 00:00:00 2001 From: Sergey Bolhovskoy Date: Tue, 14 Oct 2014 02:38:38 +0000 Subject: VKontakte: fix for double delete pReq->pUserInfo on OnSendMessage git-svn-id: http://svn.miranda-ng.org/main/trunk@10776 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/VKontakte/src/vk_proto.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'protocols/VKontakte') diff --git a/protocols/VKontakte/src/vk_proto.cpp b/protocols/VKontakte/src/vk_proto.cpp index f1706d2659..1f5fe02cbf 100644 --- a/protocols/VKontakte/src/vk_proto.cpp +++ b/protocols/VKontakte/src/vk_proto.cpp @@ -381,6 +381,7 @@ void CVkProto::OnSendMessage(NETLIBHTTPREQUEST *reply, AsyncHttpRequest *pReq) CVkFileUploadParam *fup = (CVkFileUploadParam *)param->iCount; ProtoBroadcastAck(fup->hContact, ACKTYPE_FILE, iResult, (HANDLE)fup, 0); delete fup; + return; } else if (m_bServerDelivery) ProtoBroadcastAck(param->hContact, ACKTYPE_MESSAGE, iResult, HANDLE(param->iMsgID), 0); -- cgit v1.2.3