Commit 6d8cc776 authored by Jan Sikorski's avatar Jan Sikorski Committed by Alexandre Julliard

dxgi: Don't grab wined3d lock for wined3d_decref().

parent 98e26689
......@@ -80,9 +80,7 @@ static ULONG STDMETHODCALLTYPE dxgi_factory_Release(IWineDXGIFactory *iface)
if (factory->device_window)
DestroyWindow(factory->device_window);
wined3d_mutex_lock();
wined3d_decref(factory->wined3d);
wined3d_mutex_unlock();
wined3d_private_store_cleanup(&factory->private_store);
heap_free(factory);
}
......
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