mirror of
git://source.winehq.org/git/wine.git
synced 2024-08-31 14:16:05 +00:00
riched20: Fix some GDI object leaks.
This commit is contained in:
parent
05253f900f
commit
e2264859c8
|
@ -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