summaryrefslogtreecommitdiff
path: root/protocols/VKontakte
diff options
context:
space:
mode:
authorSergey Bolhovskoy <elzorfox@ya.ru>2014-10-14 02:38:38 +0000
committerSergey Bolhovskoy <elzorfox@ya.ru>2014-10-14 02:38:38 +0000
commite9a8795aed41e22c74d7bbcd0f9705ecdb885461 (patch)
tree55d288817cf687d63aa49da47c86536ede905a02 /protocols/VKontakte
parentd4c9d098600133e1037474f20731dc248e84c05e (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
Diffstat (limited to 'protocols/VKontakte')
-rw-r--r--protocols/VKontakte/src/vk_proto.cpp1
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);