mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-02 10:27:07 -04:00
Free input device list.
Fixes a memory leak.
This commit is contained in:
parent
fc8cb7cd14
commit
6b49f8f26b
1 changed files with 2 additions and 0 deletions
|
@ -561,6 +561,8 @@ XkbDescPtr AutoTypePlatformX11::getKeyboard()
|
|||
}
|
||||
}
|
||||
|
||||
XFreeDeviceList(devices);
|
||||
|
||||
return XkbGetKeyboard(m_dpy, XkbCompatMapMask | XkbGeometryMask, keyboard_id);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue