- Fix a bitmap leak in IntDrawState

svn path=/trunk/; revision=53192
This commit is contained in:
Cameron Gutman 2011-08-12 09:54:50 +00:00
parent 1b7607bcd9
commit 19abe262d6

View file

@ -1,4 +1,4 @@
/*
/*
* ReactOS User32 Library
* - Various drawing functions
*
@ -1276,6 +1276,8 @@ IntDrawState(HDC hdc, HBRUSH hbr, DRAWSTATEPROC func, LPARAM lp, WPARAM wp,
return FALSE;
s.cx = bm.bmWidth;
s.cy = bm.bmHeight;
DeleteObject(ici.hbmMask);
DeleteObject(ici.hbmColor);
break;
case DST_BITMAP: