mirror of
https://github.com/reactos/reactos.git
synced 2024-07-06 12:45:16 +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
|
||||
* - 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:
|
||||
|
|
Loading…
Reference in a new issue