summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-12-28 09:43:00 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-12-28 09:43:00 +0000
commit92a39558ae4d7f991c5e925aae6e8491ef4865f6 (patch)
tree3f6ca115f0f27d280eb15ea2f65cd670d3a1d090 /protocols
parent22c5df52835fba4c953ffa19c012400853c883a6 (diff)
memory allocation problem in VK
git-svn-id: http://svn.miranda-ng.org/main/trunk@15946 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r--protocols/VKontakte/src/vk_proto.cpp2
1 files changed, 1 insertions, 1 deletions
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);