mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-20 12:50:04 +01:00
xkb: reset xkb_cached_map on CloseDownDevices.
Could lead to some invalid pointers in the second server generation.
This commit is contained in:
parent
40855d8000
commit
ff3adf3e56
1 changed files with 3 additions and 0 deletions
|
|
@ -292,6 +292,9 @@ XkbDeleteRulesDflts()
|
|||
XkbVariantDflt = NULL;
|
||||
_XkbFree(XkbOptionsDflt);
|
||||
XkbOptionsDflt = NULL;
|
||||
|
||||
XkbFreeKeyboard(xkb_cached_map, XkbAllComponentsMask, True);
|
||||
xkb_cached_map = NULL;
|
||||
}
|
||||
|
||||
/***====================================================================***/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue