diff options
author | (no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> | 2010-04-25 15:57:51 +0000 |
---|---|---|
committer | (no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> | 2010-04-25 15:57:51 +0000 |
commit | 5ac26cff397836222eb8d51d866890f96321c601 (patch) | |
tree | 7ab4ff3ed3c36675df3d2da5a912311df499a8fa /yapp/notify_imp.cpp | |
parent | 8e4bd51aa53343a76b1ddc9c7e47f3d56cb24437 (diff) |
Optimizations, removed redundant code, better compatibility with popup+
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@512 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'yapp/notify_imp.cpp')
-rw-r--r-- | yapp/notify_imp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yapp/notify_imp.cpp b/yapp/notify_imp.cpp index 66f31e3..2f2ca99 100644 --- a/yapp/notify_imp.cpp +++ b/yapp/notify_imp.cpp @@ -12,7 +12,7 @@ int Popup2Show(WPARAM wParam, LPARAM lParam) { HANDLE hNotify = (HANDLE)lParam;
- PopupData *pd_out = (PopupData *)malloc(sizeof(PopupData));
+ PopupData *pd_out = (PopupData *)mir_alloc(sizeof(PopupData));
memset(pd_out, 0, sizeof(PopupData));
PostMPMessage(MUM_CREATEPOPUP, (WPARAM)hNotify, (LPARAM)pd_out);
|