diff options
Diffstat (limited to 'plugins/!Deprecated/NewAwaySysMod/MsgEventAdded.cpp')
-rw-r--r-- | plugins/!Deprecated/NewAwaySysMod/MsgEventAdded.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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;
}
-
|