forked from bartvdbraak/blender
Ghost: Fix memory leak happening with keyboard mapping access
So far only noticed system de-initialization doesn't perform full object free. So rather harmless but yet stupid.
This commit is contained in:
parent
1e1c858cf1
commit
e6af8758c8
@ -254,7 +254,7 @@ GHOST_SystemX11::
|
|||||||
#endif /* WITH_X11_XINPUT */
|
#endif /* WITH_X11_XINPUT */
|
||||||
|
|
||||||
if (m_xkb_descr) {
|
if (m_xkb_descr) {
|
||||||
XkbFreeNames(m_xkb_descr, XkbKeyNamesMask, false);
|
XkbFreeKeyboard (m_xkb_descr, XkbAllComponentsMask, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
XCloseDisplay(m_display);
|
XCloseDisplay(m_display);
|
||||||
|
Loading…
Reference in New Issue
Block a user