summaryrefslogtreecommitdiff
path: root/plugins/Popup/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Popup/src')
-rw-r--r--plugins/Popup/src/main.cpp1
-rw-r--r--plugins/Popup/src/notifications.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/plugins/Popup/src/main.cpp b/plugins/Popup/src/main.cpp
index 7c7986c40b..edd2caf603 100644
--- a/plugins/Popup/src/main.cpp
+++ b/plugins/Popup/src/main.cpp
@@ -465,6 +465,7 @@ MIRAPI int Unload(void)
UnloadGDIPlus();
UnloadActions();
+ UnloadTreeData();
CloseHandle(hMainThread);
diff --git a/plugins/Popup/src/notifications.cpp b/plugins/Popup/src/notifications.cpp
index 193baf5ccf..aa2a92338a 100644
--- a/plugins/Popup/src/notifications.cpp
+++ b/plugins/Popup/src/notifications.cpp
@@ -178,7 +178,7 @@ void LoadNotificationSettings(POPUPTREEDATA *ptd, char* szModul)
HANDLE RegisterNotification(POPUPNOTIFICATION *notification)
{
- POPUPTREEDATA *ptd = (POPUPTREEDATA *)mir_alloc(sizeof(POPUPTREEDATA));
+ POPUPTREEDATA *ptd = (POPUPTREEDATA *)mir_alloc(sizeof(POPUPTREEDATA));
ptd->signature = PopupNotificationData_SIGNATURE;
ptd->typ = 1;
ptd->pszTreeRoot = mir_a2t(notification->lpzGroup);