vlc | branch: master | Erwan Tulou <[email protected]> | Sat Aug 28 18:33:36 2010 +0200| [690f19195f8e526750c5413c5a5a261c95cd55bf] | committer: Erwan Tulou
skins2(Win32) : fix GDI leak (trac #4101) > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=690f19195f8e526750c5413c5a5a261c95cd55bf --- 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 ); } } _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
