From a21d750e3d96ea33a9039cd6bf95b019e5e66597 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 27 Feb 2013 12:20:10 +0000 Subject: more memory leaks fixed git-svn-id: http://svn.miranda-ng.org/main/trunk@3794 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Popup/src/main.cpp | 1 + plugins/Popup/src/notifications.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins/Popup/src') 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); -- cgit v1.2.3