diff options
author | Sergey Bolhovskoy <elzorfox@ya.ru> | 2014-10-14 02:38:38 +0000 |
---|---|---|
committer | Sergey Bolhovskoy <elzorfox@ya.ru> | 2014-10-14 02:38:38 +0000 |
commit | e9a8795aed41e22c74d7bbcd0f9705ecdb885461 (patch) | |
tree | 55d288817cf687d63aa49da47c86536ede905a02 | |
parent | d4c9d098600133e1037474f20731dc248e84c05e (diff) |
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
-rw-r--r-- | protocols/VKontakte/src/vk_proto.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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);
|