STR 2185: Uncommented "// XCloseIM(xim_im); FIXME", as discussed in
STR 2185 and in fltk.development to prevent memory leak. The removed comment about a crash in XFree86: _XlcCreateDefaultCharSet() appears to be outdated (probably from 2005/2006). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6767 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
9029199cd8
commit
28ddf2c341
@ -813,11 +813,7 @@ int fl_handle(const XEvent& thisevent)
|
||||
fl_xim_im = NULL;
|
||||
fl_init_xim();
|
||||
} else {
|
||||
// XCloseIM(xim_im); FIXME
|
||||
/* XFree86 has a bug when closing IM it crashes in
|
||||
* _XlcCreateDefaultCharSet() ! So don't close it.
|
||||
* This will cause a memory leak :-(
|
||||
*/
|
||||
XCloseIM(xim_im); // see STR 2185 for comment
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user