Added desallocation of the viewport private data.

oldstable
Christian Costa 2002-09-26 03:20:35 +00:00 committed by Alexandre Julliard
parent 30633659b8
commit 58e8807a71
1 changed files with 1 additions and 0 deletions

View File

@ -131,6 +131,7 @@ ULONG WINAPI IDirect3DViewport2Impl_Release(LPDIRECT3DVIEWPORT2 iface)
FIXME("(%p)->() decrementing from %lu.\n", This, This->ref );
if (!--(This->ref)) {
HeapFree(GetProcessHeap(),0,This->private);
HeapFree(GetProcessHeap(),0,This);
return 0;
}