mirror of
https://github.com/reactos/wine.git
synced 2025-02-11 07:05:30 +00:00
ddraw: Don't leak the window region if we have an extra clip rect in ddraw_clipper_GetClipList().
This commit is contained in:
parent
de807eb21c
commit
01992d7fb5
@ -194,6 +194,8 @@ static HRESULT WINAPI ddraw_clipper_GetClipList(IDirectDrawClipper *iface, RECT
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
if (clipper->window)
|
||||
DeleteObject(region);
|
||||
region = clip_region;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user