mirror of https://github.com/fltk/fltk
Make sure not to call XFree with NULL pter.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8098 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
7a75f5b923
commit
75533d2482
|
@ -1404,7 +1404,7 @@ int fl_handle(const XEvent& thisevent)
|
|||
if(!fl_xim_im || XGetIMValues(fl_xim_im, XNQueryInputStyle, &xim_styles, NULL, NULL)) {
|
||||
fl_init_xim();
|
||||
}
|
||||
XFree(xim_styles);
|
||||
if (xim_styles) XFree(xim_styles);
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue