From d5adcdbd5c1fda81f1be805dadc8021837ed706d Mon Sep 17 00:00:00 2001 From: Rozhuk Ivan Date: Wed, 5 Mar 2014 22:24:53 +0000 Subject: + Add: "Automatically authorization on mail.ru web services" option, enabled by default + Restore: mail.ru web services for non MRA contacts with email + Restore: hidden option "HideMenuItemsForNonMRAContacts", disabled by default * Fix: show mail.ru web services then proto is offline * Code clean up few small fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@8422 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/MRA/src/Mra.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'protocols/MRA/src/Mra.cpp') diff --git a/protocols/MRA/src/Mra.cpp b/protocols/MRA/src/Mra.cpp index 944b965fda..498a701dc5 100644 --- a/protocols/MRA/src/Mra.cpp +++ b/protocols/MRA/src/Mra.cpp @@ -19,7 +19,6 @@ PLUGININFOEX pluginInfoEx = { { 0xe7c48bab, 0x8ace, 0x4cb3, { 0x84, 0x46, 0xd4, 0xb7, 0x34, 0x81, 0xf4, 0x97 } } }; -HANDLE g_hHeap; HINSTANCE g_hInstance; HMODULE g_hDLLXStatusIcons; HICON g_hMainIcon; @@ -37,13 +36,11 @@ BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID Reserved) switch (dwReason) { case DLL_PROCESS_ATTACH: g_hInstance = hInstance; - g_hHeap = HeapCreate(0, 0, 0); DisableThreadLibraryCalls(hInstance); break; - case DLL_PROCESS_DETACH: - HeapDestroy(g_hHeap); - g_hHeap = NULL; + /* Nothink to do. */ + break; } return TRUE; -- cgit v1.2.3