summaryrefslogtreecommitdiff
path: root/plugins/Toaster/src/toast_event_handler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Toaster/src/toast_event_handler.cpp')
-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()