diff options
author | George Hazan <ghazan@miranda.im> | 2018-02-22 20:08:53 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-02-22 20:08:53 +0300 |
commit | 392d3457b9c029267614ae5365fb80e5db6e3555 (patch) | |
tree | e26f7a2ce62ed303e68ff6e80873c64d83a00bc2 | |
parent | 58446a43b59c301d47d8546f71a938f999228aa3 (diff) |
minor memory leak in vk_avatars.cpp
-rw-r--r-- | protocols/VKontakte/src/vk_avatars.cpp | 2 |
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;
|