Skip to content
Commit 18f91b95 authored by Peter Hutterer's avatar Peter Hutterer
Browse files

xkb: fix some possible memleaks in XkbGetKbdByName



GetComponentByName returns an allocated string, so let's free that if we
fail somewhere.

Signed-off-by: default avatarPeter Hutterer <peter.hutterer@who-t.net>
parent 6907b6ea
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment