summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libweston/backend-rdp/rdp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libweston/backend-rdp/rdp.c b/libweston/backend-rdp/rdp.c
index 6aec15d2..ce91cedd 100644
--- a/libweston/backend-rdp/rdp.c
+++ b/libweston/backend-rdp/rdp.c
@@ -1064,6 +1064,7 @@ xf_peer_activate(freerdp_peer* client)
weston_seat_init(peersItem->seat, b->compositor, seat_name);
weston_seat_init_keyboard(peersItem->seat, keymap);
+ xkb_keymap_unref(keymap);
weston_seat_init_pointer(peersItem->seat);
peersItem->flags |= RDP_PEER_ACTIVATED;