make clipper threadsafe for TA

This commit is contained in:
FunkyFr3sh 2024-05-27 05:01:54 +02:00
parent 009bc4e2e8
commit 103f78276b
3 changed files with 51 additions and 0 deletions

View file

@ -31,6 +31,8 @@ ULONG __stdcall IDirectDrawClipper__Release(IDirectDrawClipperImpl* This)
if (This->region)
DeleteObject(This->region);
DeleteCriticalSection(&This->cs);
HeapFree(GetProcessHeap(), 0, This);
}