diff options
author | George Hazan <george.hazan@gmail.com> | 2015-04-14 13:40:54 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-04-14 13:40:54 +0000 |
commit | fbb5d3456c540866ccc249c35b656def0219d8fb (patch) | |
tree | 038ed959c17e04650acb26c1e28278c7c49fb687 /plugins/BuddyPounce/src/main.cpp | |
parent | c0af4589fb0d1cb2a365a5ebe01c1a1ee4bfee7a (diff) |
some minor memleaks fixed
git-svn-id: http://svn.miranda-ng.org/main/trunk@12807 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/BuddyPounce/src/main.cpp')
-rw-r--r-- | plugins/BuddyPounce/src/main.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/BuddyPounce/src/main.cpp b/plugins/BuddyPounce/src/main.cpp index 03b8e6cb59..f490a77a10 100644 --- a/plugins/BuddyPounce/src/main.cpp +++ b/plugins/BuddyPounce/src/main.cpp @@ -145,10 +145,9 @@ int CheckDate(MCONTACT hContact) void SendPounce(TCHAR *text, MCONTACT hContact)
{
- char* pszUtf = mir_utf8encodeT(text);
+ ptrA pszUtf(mir_utf8encodeT(text));
if (HANDLE hSendId = (HANDLE)CallContactService(hContact, PSS_MESSAGE, PREF_UTF, (LPARAM)pszUtf))
WindowList_Add(hWindowList, (HWND)hSendId, hContact);
-
}
int UserOnlineSettingChanged(WPARAM hContact, LPARAM lParam)
|