patch [#32282] Fix segfault on exit in IM shutdown.
from Bill Currie (taniwha)
This commit is contained in:
@@ -152,7 +152,9 @@ GHOST_SystemX11::
|
|||||||
~GHOST_SystemX11()
|
~GHOST_SystemX11()
|
||||||
{
|
{
|
||||||
#if defined(WITH_X11_XINPUT) && defined(X_HAVE_UTF8_STRING)
|
#if defined(WITH_X11_XINPUT) && defined(X_HAVE_UTF8_STRING)
|
||||||
XCloseIM(m_xim);
|
if (m_xim) {
|
||||||
|
XCloseIM(m_xim);
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
XCloseDisplay(m_display);
|
XCloseDisplay(m_display);
|
||||||
|
Reference in New Issue
Block a user