From fe4e211fe45a0b04190d06dbf34fa13883df871a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 17 Mar 2013 12:04:21 +0000 Subject: more memory fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@4072 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/MRA/src/Mra.cpp | 1 + protocols/MRA/src/MraProto.cpp | 1 - protocols/MRA/src/Mra_svcs.cpp | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/MRA/src') diff --git a/protocols/MRA/src/Mra.cpp b/protocols/MRA/src/Mra.cpp index bb82f5d594..8905c233c8 100644 --- a/protocols/MRA/src/Mra.cpp +++ b/protocols/MRA/src/Mra.cpp @@ -129,6 +129,7 @@ extern "C" MRA_API int Unload(void) masMraSettings.hDLLXStatusIcons = NULL; } + g_Instances.destroy(); DebugPrintCRLFW(L"Unload - DONE"); return 0; } diff --git a/protocols/MRA/src/MraProto.cpp b/protocols/MRA/src/MraProto.cpp index 42e6b29ada..1afc9c122a 100644 --- a/protocols/MRA/src/MraProto.cpp +++ b/protocols/MRA/src/MraProto.cpp @@ -59,7 +59,6 @@ CMraProto::CMraProto(const char* _module, const TCHAR* _displayName) : SkinAddNewSoundEx(szNewMailSound, m_szModuleName, MRA_SOUND_NEW_EMAIL); HookEvent(ME_CLIST_PREBUILDSTATUSMENU, &CMraProto::MraRebuildStatusMenu); - MraRebuildStatusMenu(0, 0); hExtraXstatusIcon = ExtraIcon_Register("MRAXstatus", "Mail.ru Xstatus", "mra_xstatus25"); hExtraInfo = ExtraIcon_Register("MRAStatus", "Mail.ru extra info", "mra_xstatus49"); diff --git a/protocols/MRA/src/Mra_svcs.cpp b/protocols/MRA/src/Mra_svcs.cpp index e64788ae3b..9cbc06c9b3 100644 --- a/protocols/MRA/src/Mra_svcs.cpp +++ b/protocols/MRA/src/Mra_svcs.cpp @@ -105,7 +105,7 @@ const LPWSTR lpcszXStatusNameDef[] = LPGENT("Sleeping"), LPGENT("Cool!"), LPGENT("Peace!"), - LPGENT("Cook a snook"), + LPGENT("Cock a snook"), LPGENT("Get out"), LPGENT("Death"), LPGENT("Rocket"), -- cgit v1.2.3