mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-10 11:17:54 +00:00
[client] main: fix possible dereference of null g_state.ds
This commit is contained in:
parent
120e063a10
commit
0a9784d09d
1 changed files with 1 additions and 1 deletions
|
@ -1816,7 +1816,7 @@ static void lg_shutdown(void)
|
|||
app_releaseAllKeybinds();
|
||||
ll_free(g_state.bindings);
|
||||
|
||||
if (g_state.dsInitialized)
|
||||
if (g_state.ds && g_state.dsInitialized)
|
||||
g_state.ds->free();
|
||||
|
||||
ivshmemClose(&g_state.shm);
|
||||
|
|
Loading…
Reference in a new issue