mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +00:00
riched20: Fix some GDI object leaks.
This commit is contained in:
parent
05253f900f
commit
e2264859c8
1 changed files with 1 additions and 0 deletions
|
@ -1669,6 +1669,7 @@ void ME_DrawOLE(ME_Context *c, int x, int y, ME_Run *run,
|
|||
hMemDC, 0, 0, dibsect.dsBm.bmWidth,
|
||||
dibsect.dsBm.bmHeight, SRCCOPY);
|
||||
}
|
||||
DeleteDC(hMemDC);
|
||||
if (!stgm.pUnkForRelease) DeleteObject(stgm.u.hBitmap);
|
||||
break;
|
||||
case TYMED_ENHMF:
|
||||
|
|
Loading…
Reference in a new issue