mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-28 08:49:42 -05:00
Free input device list.
Fixes a memory leak.
This commit is contained in:
parent
fc8cb7cd14
commit
6b49f8f26b
@ -561,6 +561,8 @@ XkbDescPtr AutoTypePlatformX11::getKeyboard()
|
||||
}
|
||||
}
|
||||
|
||||
XFreeDeviceList(devices);
|
||||
|
||||
return XkbGetKeyboard(m_dpy, XkbCompatMapMask | XkbGeometryMask, keyboard_id);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user