Free private structure in Xlib_DDS_Release.

This commit is contained in:
Marcus Meissner 2000-04-11 19:37:50 +00:00 committed by Alexandre Julliard
parent 2b569f6d69
commit 81a84bb387
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}