summaryrefslogtreecommitdiff
path: root/protocols/VKontakte
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-02-22 20:08:53 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-02-22 20:08:53 +0300
commit392d3457b9c029267614ae5365fb80e5db6e3555 (patch)
treee26f7a2ce62ed303e68ff6e80873c64d83a00bc2 /protocols/VKontakte
parent58446a43b59c301d47d8546f71a938f999228aa3 (diff)
minor memory leak in vk_avatars.cpp
Diffstat (limited to 'protocols/VKontakte')
-rw-r--r--protocols/VKontakte/src/vk_avatars.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_avatars.cpp b/protocols/VKontakte/src/vk_avatars.cpp
index 27acfe469a..0bd3a7ff9b 100644
--- a/protocols/VKontakte/src/vk_avatars.cpp
+++ b/protocols/VKontakte/src/vk_avatars.cpp
@@ -152,7 +152,7 @@ void CVkProto::GetAvatarFileName(MCONTACT hContact, wchar_t *pwszDest, size_t cb
void CVkProto::SetAvatarUrl(MCONTACT hContact, CMStringW &wszUrl)
{
- CMStringW oldUrl(getWStringA(hContact, "AvatarUrl"));
+ ptrW oldUrl(getWStringA(hContact, "AvatarUrl"));
if (wszUrl == oldUrl)
return;