xkb: reset xkb_cached_map on CloseDownDevices.
Could lead to some invalid pointers in the second server generation.
This commit is contained in:
@@ -292,6 +292,9 @@ XkbDeleteRulesDflts()
|
||||
XkbVariantDflt = NULL;
|
||||
_XkbFree(XkbOptionsDflt);
|
||||
XkbOptionsDflt = NULL;
|
||||
|
||||
XkbFreeKeyboard(xkb_cached_map, XkbAllComponentsMask, True);
|
||||
xkb_cached_map = NULL;
|
||||
}
|
||||
|
||||
/***====================================================================***/
|
||||
|
||||
Reference in New Issue
Block a user