summaryrefslogtreecommitdiff
path: root/plugins/Toaster/src/services.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Toaster/src/services.cpp')
-rw-r--r--plugins/Toaster/src/services.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/plugins/Toaster/src/services.cpp b/plugins/Toaster/src/services.cpp
index 16c89edcb1..100a2387cf 100644
--- a/plugins/Toaster/src/services.cpp
+++ b/plugins/Toaster/src/services.cpp
@@ -181,9 +181,7 @@ static INT_PTR UnRegisterClass(WPARAM, LPARAM lParam)
void CleanupClasses()
{
for (auto it = mp_Classes.begin(); it != mp_Classes.end(); ++it)
- {
delete it->second;
- }
mp_Classes.clear();
}
@@ -246,9 +244,7 @@ static INT_PTR HideToast(WPARAM, LPARAM lParam)
{
ToastNotification* pNotification = reinterpret_cast<ToastNotification*>(lParam);
if (lstNotifications.getIndex(pNotification) != -1)
- {
lstNotifications.remove(pNotification);
- }
return 0;
}
void __stdcall HideAllToasts(void*)