mirror of
https://github.com/reactos/wine.git
synced 2024-11-28 14:10:32 +00:00
ddraw: Don't leak the window DC.
This commit is contained in:
parent
d463243754
commit
769fd080f8
@ -130,6 +130,7 @@ static HRGN get_window_region(HWND window)
|
||||
OffsetRgn(rgn, origin.x, origin.y);
|
||||
}
|
||||
|
||||
ReleaseDC(window, dc);
|
||||
return rgn;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user