summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-08-28 19:22:23 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-08-28 19:22:23 +0000
commitaa5cdb819a83b85c4414a453060dba1422c0ae55 (patch)
treebeebdfd630f17ce6869deed24791c4130c299725 /plugins
parentaee4304b42bb9ad1f3ebff59bd3bbfb4fff0e2bc (diff)
Toaster: fixed memleak
git-svn-id: http://svn.miranda-ng.org/main/trunk@15071 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Toaster/src/toast_event_handler.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/Toaster/src/toast_event_handler.cpp b/plugins/Toaster/src/toast_event_handler.cpp
index c7f43ad115..47ceb8d561 100644
--- a/plugins/Toaster/src/toast_event_handler.cpp
+++ b/plugins/Toaster/src/toast_event_handler.cpp
@@ -12,6 +12,7 @@ ToastEventHandler::ToastEventHandler(_In_ pEventHandler callback, _In_ void* arg
ToastEventHandler::~ToastEventHandler()
{
+ mir_free(_arg);
}
IFACEMETHODIMP_(ULONG) ToastEventHandler::AddRef()