summaryrefslogtreecommitdiff
path: root/plugins/BossKeyPlus/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-02-21 13:03:09 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-02-21 13:03:09 +0000
commit1c44f2df0725c7673b0522121461337270cd47c6 (patch)
tree73979ab4ed3fcdf367ccce10ba1811def67d69b6 /plugins/BossKeyPlus/src
parent1f59d862f624b14135eaf16899d3bc617fa3ff1e (diff)
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
Diffstat (limited to 'plugins/BossKeyPlus/src')
-rw-r--r--plugins/BossKeyPlus/src/BossKey.cpp4
1 files changed, 2 insertions, 2 deletions
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 }
};