From 1c44f2df0725c7673b0522121461337270cd47c6 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 21 Feb 2013 13:03:09 +0000 Subject: service MS_VARS_FREEMEMORY replaced with the direct call of mir_free git-svn-id: http://svn.miranda-ng.org/main/trunk@3669 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/BossKeyPlus/src/BossKey.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/BossKeyPlus') diff --git a/plugins/BossKeyPlus/src/BossKey.cpp b/plugins/BossKeyPlus/src/BossKey.cpp index e946b6d864..b80237ee92 100644 --- a/plugins/BossKeyPlus/src/BossKey.cpp +++ b/plugins/BossKeyPlus/src/BossKey.cpp @@ -406,7 +406,7 @@ LRESULT CALLBACK ListenWndProc(HWND hWnd,UINT uMsg,WPARAM wParam,LPARAM lParam) ptszParsed = (TCHAR*)CallService(MS_VARS_FORMATSTRING, (WPARAM)&fi, 0); ChangeAllProtoStatuses(uMode, ptszParsed); if (ptszParsed) - CallService(MS_VARS_FREEMEMORY, (WPARAM)ptszParsed, 0); + mir_free(ptszParsed); }else ChangeAllProtoStatuses(uMode, dbVar.ptszVal); DBFreeVariant(&dbVar); @@ -596,7 +596,7 @@ static TCHAR *GetBossKeyText(void) return buf; } -static IconItem iconList[] = +static IconItem iconList[] = { { LPGEN("Hide Miranda NG"), "hidemim", IDI_DLGPASSWD } }; -- cgit v1.2.3