summaryrefslogtreecommitdiff
path: root/plugins/NewXstatusNotify/src/main.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-06-24 22:52:54 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-06-24 22:52:54 +0000
commita5d58f74315af7451155d7976311ecd30627445f (patch)
treeaa65f22698cdb25d8cd45fbfe917feafd54b9c77 /plugins/NewXstatusNotify/src/main.cpp
parent6fa9fbede243e62afc1a6e5aaeb1fe20f7ff4274 (diff)
fix for hanging in NewXstatusNotify's popups
git-svn-id: http://svn.miranda-ng.org/main/trunk@5129 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/NewXstatusNotify/src/main.cpp')
-rw-r--r--plugins/NewXstatusNotify/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/NewXstatusNotify/src/main.cpp b/plugins/NewXstatusNotify/src/main.cpp
index 2c59b6c9c2..6e0057b537 100644
--- a/plugins/NewXstatusNotify/src/main.cpp
+++ b/plugins/NewXstatusNotify/src/main.cpp
@@ -680,7 +680,7 @@ void ShowStatusChangePopup(HANDLE hContact, char *szProto, WORD oldStatus, WORD
ppd.PluginWindowProc = PopupDlgProc;
- PLUGINDATA *pdp = (PLUGINDATA *)mir_alloc(sizeof(PLUGINDATA));
+ PLUGINDATA *pdp = (PLUGINDATA *)mir_calloc(sizeof(PLUGINDATA));
pdp->oldStatus = oldStatus;
pdp->newStatus = newStatus;
pdp->hAwayMsgHook = NULL;