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/!Deprecated/NewAwaySysMod/MsgEventAdded.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'plugins/!Deprecated/NewAwaySysMod/MsgEventAdded.cpp') diff --git a/plugins/!Deprecated/NewAwaySysMod/MsgEventAdded.cpp b/plugins/!Deprecated/NewAwaySysMod/MsgEventAdded.cpp index a8219e7bd7..8f280898c9 100644 --- a/plugins/!Deprecated/NewAwaySysMod/MsgEventAdded.cpp +++ b/plugins/!Deprecated/NewAwaySysMod/MsgEventAdded.cpp @@ -304,7 +304,7 @@ int MsgEventAdded(WPARAM wParam, LPARAM lParam) if (szResult != NULL) { Reply = szResult; - CallService(MS_VARS_FREEMEMORY, (WPARAM)szResult, 0); + mir_free(szResult); } } if (Reply.GetLen()) @@ -314,4 +314,3 @@ int MsgEventAdded(WPARAM wParam, LPARAM lParam) } return 0; } - -- cgit v1.2.3