ddraw: Don't leak the window DC.

This commit is contained in:
Matteo Bruni 2012-02-08 22:35:11 +01:00 committed by Alexandre Julliard
parent d463243754
commit 769fd080f8
1 changed files with 1 additions and 0 deletions

View File

@ -130,6 +130,7 @@ static HRGN get_window_region(HWND window)
OffsetRgn(rgn, origin.x, origin.y);
}
ReleaseDC(window, dc);
return rgn;
}