Skip to content
Snippets Groups Projects
Commit 58e8807a authored by Christian Costa's avatar Christian Costa Committed by Alexandre Julliard
Browse files

Added desallocation of the viewport private data.

parent 30633659
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment