From ce1bf81b56ff2dad89b1f783d6377b20eebea0a4 Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Mon, 21 Mar 2016 11:16:29 +0000 Subject: VK: memleak fix git-svn-id: http://svn.miranda-ng.org/main/trunk@16521 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/VKontakte/src/misc.cpp | 2 +- protocols/VKontakte/src/stdafx.h | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/protocols/VKontakte/src/misc.cpp b/protocols/VKontakte/src/misc.cpp index d22fa90ad8..5d9edd9364 100644 --- a/protocols/VKontakte/src/misc.cpp +++ b/protocols/VKontakte/src/misc.cpp @@ -1298,7 +1298,7 @@ void CVkProto::ShowCaptchaInBrowser(HBITMAP hBitmap) fii->FI_AcquireMemory(hMem, &buf, &bufLen); ptrA base64(mir_base64_encode(buf, bufLen)); fii->FI_CloseMemory(hMem); - + fii->FI_Unload(dib); CMStringA szHTML(FORMAT, "", base64); fwrite(szHTML, 1, szHTML.GetLength(), pFile); diff --git a/protocols/VKontakte/src/stdafx.h b/protocols/VKontakte/src/stdafx.h index 651856837f..8495a2dbd0 100644 --- a/protocols/VKontakte/src/stdafx.h +++ b/protocols/VKontakte/src/stdafx.h @@ -18,8 +18,6 @@ along with this program. If not, see . #pragma once #include -#include -#include #include #include @@ -35,13 +33,9 @@ along with this program. If not, see . #include #include #include -#include #include -#include #include -#include #include -#include #include #include #include @@ -53,9 +47,7 @@ along with this program. If not, see . #include #include #include -#include #include -#include #include #include -- cgit v1.2.3