ddraw: Don't leak the window DC.
Matteo Bruni
mbruni at codeweavers.com
Wed Feb 8 15:35:11 CST 2012
For bug 29834.
---
dlls/ddraw/clipper.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/ddraw/clipper.c b/dlls/ddraw/clipper.c
index 89a3bf3..db9c383 100644
--- a/dlls/ddraw/clipper.c
+++ b/dlls/ddraw/clipper.c
@@ -130,6 +130,7 @@ static HRGN get_window_region(HWND window)
OffsetRgn(rgn, origin.x, origin.y);
}
+ ReleaseDC(window, dc);
return rgn;
}
--
1.7.3.4
More information about the wine-patches
mailing list