patch [#32282] Fix segfault on exit in IM shutdown.

from Bill Currie (taniwha)
This commit is contained in:
Campbell Barton
2012-08-08 07:31:19 +00:00
parent 47c7266522
commit 3179ee8a86

View File

@@ -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)
if (m_xim) {
XCloseIM(m_xim); XCloseIM(m_xim);
}
#endif #endif
XCloseDisplay(m_display); XCloseDisplay(m_display);