From 92a39558ae4d7f991c5e925aae6e8491ef4865f6 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 28 Dec 2015 09:43:00 +0000 Subject: memory allocation problem in VK git-svn-id: http://svn.miranda-ng.org/main/trunk@15946 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/VKontakte/src/vk_proto.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols') diff --git a/protocols/VKontakte/src/vk_proto.cpp b/protocols/VKontakte/src/vk_proto.cpp index 0a2a31729c..d6c514af57 100644 --- a/protocols/VKontakte/src/vk_proto.cpp +++ b/protocols/VKontakte/src/vk_proto.cpp @@ -134,7 +134,7 @@ CVkProto::CVkProto(const char *szModuleName, const TCHAR *ptszUserName) : m_ReturnChatMessage = getTStringA("ReturnChatMessage"); if (m_ReturnChatMessage == NULL) - m_ReturnChatMessage = TranslateT("I'm back"); + m_ReturnChatMessage = mir_tstrdup(TranslateT("I'm back")); // Set all contacts offline -- in case we crashed SetAllContactStatuses(ID_STATUS_OFFLINE); -- cgit v1.2.3