Commit 10753674 authored by Jan Zerebecki's avatar Jan Zerebecki Committed by Alexandre Julliard

wined3d: Avoid XFree on NULL in CheckDeviceType.

parent 3d6ffee0
...@@ -1597,7 +1597,7 @@ static HRESULT WINAPI IWineD3DImpl_CheckDeviceType(IWineD3D *iface, UINT Adapter ...@@ -1597,7 +1597,7 @@ static HRESULT WINAPI IWineD3DImpl_CheckDeviceType(IWineD3D *iface, UINT Adapter
break ; break ;
} }
} }
XFree(cfgs); if(cfgs) XFree(cfgs);
WineD3D_ReleaseFakeGLContext(ctx); WineD3D_ReleaseFakeGLContext(ctx);
} }
......
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