Commit a3f22d07 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

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

parent 6d4a4fc4
......@@ -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);
......
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