mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-23 22:31:46 +00:00
[client] fix invalid access on early termination
This commit is contained in:
parent
780bb248f7
commit
22238c3200
2 changed files with 2 additions and 2 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
||||||
B1-rc4-0-g026bdb00f2+1
|
B1-rc5-0-g780bb248f7+1
|
|
@ -66,7 +66,7 @@ KeybindHandle app_register_keybind(SDL_Scancode key, SuperEventFn callback, void
|
||||||
|
|
||||||
void app_release_keybind(KeybindHandle * handle)
|
void app_release_keybind(KeybindHandle * handle)
|
||||||
{
|
{
|
||||||
if (!handle)
|
if (!*handle)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
state.bindings[(*handle)->key] = NULL;
|
state.bindings[(*handle)->key] = NULL;
|
||||||
|
|
Loading…
Reference in a new issue