summaryrefslogtreecommitdiff
path: root/plugins/Toaster/src/services.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-09-01 11:50:43 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-09-01 11:50:43 +0000
commit4b2a0c3b6959c5691152af85b726b0f6a9398d3a (patch)
treeeaf1c55b1e614ffbf5eaf06a35cc3c8a75c2e17b /plugins/Toaster/src/services.cpp
parent5a28a5996189fe3771799388ead1e26e64062494 (diff)
Toster: leaks fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@15133 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Toaster/src/services.cpp')
-rw-r--r--plugins/Toaster/src/services.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Toaster/src/services.cpp b/plugins/Toaster/src/services.cpp
index 80bc0c85fe..501d6a8253 100644
--- a/plugins/Toaster/src/services.cpp
+++ b/plugins/Toaster/src/services.cpp
@@ -22,7 +22,6 @@ wchar_t* SaveBitmap(HBITMAP bmp, const char *szId)
isi.fif = FREE_IMAGE_FORMAT::FIF_PNG;
CallService(MS_IMG_SAVE, (WPARAM)&isi, IMGL_WCHAR);
}
-
return mir_wstrdup(wszSavePath);
}
@@ -119,6 +118,7 @@ void __stdcall ShowToastNotification(void* p)
else
{
delete arg->notification;
+ mir_free(arg);
}
}