mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-24 17:49:52 +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);
|
TRACE(" Released (%p)\n", This);
|
||||||
|
|
||||||
|
if (This->region)
|
||||||
|
DeleteObject(This->region);
|
||||||
|
|
||||||
HeapFree(GetProcessHeap(), 0, This);
|
HeapFree(GetProcessHeap(), 0, This);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user