dxgi: Free the adapters array in dxgi_factory_Release() (Valgrind).

This commit is contained in:
Henri Verbeet 2009-10-21 10:33:57 +02:00 committed by Alexandre Julliard
parent 6d4a4fc4cd
commit a3f22d07d1
1 changed files with 1 additions and 0 deletions

View File

@ -71,6 +71,7 @@ static ULONG STDMETHODCALLTYPE dxgi_factory_Release(IWineDXGIFactory *iface)
{
IDXGIAdapter_Release(This->adapters[i]);
}
HeapFree(GetProcessHeap(), 0, This->adapters);
EnterCriticalSection(&dxgi_cs);
IWineD3D_Release(This->wined3d);