mirror of
https://github.com/reactos/wine.git
synced 2024-12-05 02:07:16 +00:00
wined3d: Avoid XFree on NULL in CheckDeviceType.
This commit is contained in:
parent
3d6ffee021
commit
1075367493
@ -1597,7 +1597,7 @@ static HRESULT WINAPI IWineD3DImpl_CheckDeviceType(IWineD3D *iface, UINT Adapter
|
||||
break ;
|
||||
}
|
||||
}
|
||||
XFree(cfgs);
|
||||
if(cfgs) XFree(cfgs);
|
||||
WineD3D_ReleaseFakeGLContext(ctx);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user