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:
Deve 2016-12-04 23:23:09 +01:00
parent c0cd915716
commit 23883b83c1

@ -1309,7 +1309,6 @@ bool CIrrDeviceLinux::createInputContext()
XSetICFocus(XInputContext);
setlocale(LC_CTYPE, oldLocale.c_str());
XFree(p);
return true;
}