Commit 58e8807a authored by Christian Costa's avatar Christian Costa Committed by Alexandre Julliard

Added desallocation of the viewport private data.

parent 30633659
...@@ -131,6 +131,7 @@ ULONG WINAPI IDirect3DViewport2Impl_Release(LPDIRECT3DVIEWPORT2 iface) ...@@ -131,6 +131,7 @@ ULONG WINAPI IDirect3DViewport2Impl_Release(LPDIRECT3DVIEWPORT2 iface)
FIXME("(%p)->() decrementing from %lu.\n", This, This->ref ); FIXME("(%p)->() decrementing from %lu.\n", This, This->ref );
if (!--(This->ref)) { if (!--(This->ref)) {
HeapFree(GetProcessHeap(),0,This->private);
HeapFree(GetProcessHeap(),0,This); HeapFree(GetProcessHeap(),0,This);
return 0; return 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment