mirror of
https://github.com/reactos/reactos.git
synced 2024-08-05 11:00:55 +00:00
[USER32]
- Fix a bitmap leak in IntDrawState svn path=/trunk/; revision=53192
This commit is contained in:
parent
1b7607bcd9
commit
19abe262d6
|
@ -1,4 +1,4 @@
|
||||||
/*
|
/*
|
||||||
* ReactOS User32 Library
|
* ReactOS User32 Library
|
||||||
* - Various drawing functions
|
* - Various drawing functions
|
||||||
*
|
*
|
||||||
|
@ -1276,6 +1276,8 @@ IntDrawState(HDC hdc, HBRUSH hbr, DRAWSTATEPROC func, LPARAM lp, WPARAM wp,
|
||||||
return FALSE;
|
return FALSE;
|
||||||
s.cx = bm.bmWidth;
|
s.cx = bm.bmWidth;
|
||||||
s.cy = bm.bmHeight;
|
s.cy = bm.bmHeight;
|
||||||
|
DeleteObject(ici.hbmMask);
|
||||||
|
DeleteObject(ici.hbmColor);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case DST_BITMAP:
|
case DST_BITMAP:
|
||||||
|
|
Loading…
Reference in a new issue