Commit 769fd080 authored by Matteo Bruni's avatar Matteo Bruni Committed by Alexandre Julliard

ddraw: Don't leak the window DC.

parent d4632437
......@@ -130,6 +130,7 @@ static HRGN get_window_region(HWND window)
OffsetRgn(rgn, origin.x, origin.y);
}
ReleaseDC(window, dc);
return rgn;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment