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
|
@ -292,6 +292,9 @@ XkbDeleteRulesDflts()
|
||||||
XkbVariantDflt = NULL;
|
XkbVariantDflt = NULL;
|
||||||
_XkbFree(XkbOptionsDflt);
|
_XkbFree(XkbOptionsDflt);
|
||||||
XkbOptionsDflt = NULL;
|
XkbOptionsDflt = NULL;
|
||||||
|
|
||||||
|
XkbFreeKeyboard(xkb_cached_map, XkbAllComponentsMask, True);
|
||||||
|
xkb_cached_map = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/***====================================================================***/
|
/***====================================================================***/
|
||||||
|
|
Loading…
Reference in New Issue
Block a user