Free input device list.

Fixes a memory leak.
This commit is contained in:
Felix Geyer 2015-09-26 12:31:29 +02:00
parent fc8cb7cd14
commit 6b49f8f26b

View File

@ -561,6 +561,8 @@ XkbDescPtr AutoTypePlatformX11::getKeyboard()
}
}
XFreeDeviceList(devices);
return XkbGetKeyboard(m_dpy, XkbCompatMapMask | XkbGeometryMask, keyboard_id);
}