d3d8: Free the shader handle table.

This commit is contained in:
H. Verbeet 2006-09-11 18:51:09 +02:00 committed by Alexandre Julliard
parent c727986499
commit 112810a480

View file

@ -97,6 +97,7 @@ static ULONG WINAPI IDirect3DDevice8Impl_Release(LPDIRECT3DDEVICE8 iface) {
TRACE("Releasing wined3d device %p\n", This->WineD3DDevice);
IWineD3DDevice_Uninit3D(This->WineD3DDevice);
IWineD3DDevice_Release(This->WineD3DDevice);
HeapFree(GetProcessHeap(), 0, This->shader_handles);
HeapFree(GetProcessHeap(), 0, This);
}
return ref;