Fix an unfree Atom

This commit is contained in:
Benau 2016-10-12 09:51:44 +08:00
parent 7df560ae63
commit 76f32b4a41

View File

@ -899,7 +899,7 @@ bool CIrrDeviceLinux::createWindow()
WMCheck, 0L, 1L, False, XA_WINDOW,
&type, &form, &len, &remain,
(unsigned char **)&list);
XFree(list);
bool netWM = (s == Success) && len;
attributes.override_redirect = !netWM && CreationParams.Fullscreen;