gdi: Release source DC pointer before using the DC.
Vitaliy Margolen
wine-patch at kievinfo.com
Sat Mar 11 15:30:52 CST 2006
ChangeLog:
gdi: Release source DC pointer before using the DC.
This should fix [Bug 2738].
dlls/gdi/bitblt.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
-------------- next part --------------
474a65ee7e10a9f96c961ef0d74a9c089b998094
diff --git a/dlls/gdi/bitblt.c b/dlls/gdi/bitblt.c
index 221fc6d..1a0cba1 100644
--- a/dlls/gdi/bitblt.c
+++ b/dlls/gdi/bitblt.c
@@ -87,6 +87,7 @@ BOOL WINAPI BitBlt( HDC hdcDst, INT xDst
}
GetObjectW(GetCurrentObject(hdcSrc, OBJ_BITMAP), sizeof(bm), &bm);
+ GDI_ReleaseObj( hdcSrc );
info_hdr.biSize = sizeof(info_hdr);
info_hdr.biWidth = bm.bmWidth;
More information about the wine-patches
mailing list