From aa5cdb819a83b85c4414a453060dba1422c0ae55 Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Fri, 28 Aug 2015 19:22:23 +0000 Subject: Toaster: fixed memleak git-svn-id: http://svn.miranda-ng.org/main/trunk@15071 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Toaster/src/toast_event_handler.cpp | 1 + 1 file changed, 1 insertion(+) 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() -- cgit v1.2.3