From 3104a531072b7c120f29ba9548314996d21205f9 Mon Sep 17 00:00:00 2001 From: spx Date: Wed, 10 Jul 2013 23:00:27 +0900 Subject: [PATCH] Fixed !SetWallpaper issue http://rainmeter.net/forum/viewtopic.php?f=14&t=16018 --- Library/System.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Library/System.cpp b/Library/System.cpp index 6c2ca6f4..89f8de9f 100644 --- a/Library/System.cpp +++ b/Library/System.cpp @@ -1206,6 +1206,8 @@ void System::SetWallpaper(const std::wstring& wallpaper, const std::wstring& sty SystemParametersInfo(SPI_SETDESKWALLPAPER, 0, (void*)file.c_str(), SPIF_UPDATEINIFILE); } } + + delete bitmap; } }