Free private structure in Xlib_DDS_Release.
This commit is contained in:
parent
2b569f6d69
commit
81a84bb387
|
@ -366,6 +366,7 @@ ULONG WINAPI Xlib_IDirectDrawSurface4Impl_Release(LPDIRECTDRAWSURFACE4 iface) {
|
|||
/* Free the clipper if present */
|
||||
if(This->s.lpClipper)
|
||||
IDirectDrawClipper_Release(This->s.lpClipper);
|
||||
HeapFree(GetProcessHeap(),0,This->private);
|
||||
HeapFree(GetProcessHeap(),0,This);
|
||||
return S_OK;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue