mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 06:04:49 +01:00
delete region on release
This commit is contained in:
parent
24f6a020d5
commit
2ddc0b5ceb
@ -28,6 +28,9 @@ ULONG __stdcall IDirectDrawClipper__Release(IDirectDrawClipperImpl* This)
|
||||
{
|
||||
TRACE(" Released (%p)\n", This);
|
||||
|
||||
if (This->region)
|
||||
DeleteObject(This->region);
|
||||
|
||||
HeapFree(GetProcessHeap(), 0, This);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user