From 392d3457b9c029267614ae5365fb80e5db6e3555 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 22 Feb 2018 20:08:53 +0300 Subject: minor memory leak in vk_avatars.cpp --- protocols/VKontakte/src/vk_avatars.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/VKontakte') 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; -- cgit v1.2.3