Fixed a crash on startup.
As written in the documentation: "The returned modifiers string is owned by Xlib and should not be modified or freed by the client."
This commit is contained in:
parent
c0cd915716
commit
23883b83c1
@ -1309,7 +1309,6 @@ bool CIrrDeviceLinux::createInputContext()
|
||||
|
||||
XSetICFocus(XInputContext);
|
||||
setlocale(LC_CTYPE, oldLocale.c_str());
|
||||
XFree(p);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user