diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2016-03-21 11:16:29 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2016-03-21 11:16:29 +0000 |
commit | ce1bf81b56ff2dad89b1f783d6377b20eebea0a4 (patch) | |
tree | 3e01a51a472b6930eef6530d6e3f7f349f2187fb /protocols/VKontakte/src/misc.cpp | |
parent | 2e2455779068f117e25bbb600d22f9f84aeb90a0 (diff) |
VK: memleak fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@16521 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/misc.cpp')
-rw-r--r-- | protocols/VKontakte/src/misc.cpp | 2 |
1 files changed, 1 insertions, 1 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, "<html><body><img src=\"data:image/png;base64,%s\" /></body></html>", base64);
fwrite(szHTML, 1, szHTML.GetLength(), pFile);
|