[vlc-commits] commit: skins2(Win32) : fix GDI leak (trac #4101) ( cherry picked from commit 690f19195f8e526750c5413c5a5a261c95cd55bf) ( Erwan Tulou )
git at videolan.org
git at videolan.org
Sat Aug 28 18:58:18 CEST 2010
vlc/vlc-1.1 | branch: master | Erwan Tulou <erwan10 at videolan.org> | Sat Aug 28 18:33:36 2010 +0200| [6e0c6291757b1cf54a3e0338a2567cbfb1dd5228] | committer: Erwan Tulou
skins2(Win32) : fix GDI leak (trac #4101) (cherry picked from commit 690f19195f8e526750c5413c5a5a261c95cd55bf)
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=6e0c6291757b1cf54a3e0338a2567cbfb1dd5228
---
modules/gui/skins2/win32/win32_graphics.cpp | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/gui/skins2/win32/win32_graphics.cpp b/modules/gui/skins2/win32/win32_graphics.cpp
index 8a6536c..9ded675 100644
--- a/modules/gui/skins2/win32/win32_graphics.cpp
+++ b/modules/gui/skins2/win32/win32_graphics.cpp
@@ -72,6 +72,7 @@ void Win32Graphics::clear( int xDest, int yDest, int width, int height )
HRGN mask = CreateRectRgn( xDest, yDest,
xDest + width, yDest + height );
CombineRgn( m_mask, m_mask, mask, RGN_DIFF );
+ DeleteObject( mask );
}
}
More information about the vlc-commits
mailing list