input: Don't leak the initial keymap

Graphics / Wayland / Weston - Rui Matos [gmail.com] - 8 January 2014 23:40 UTC

weston_xkb_info_create() takes ownership of the xkb_keymap instance so we should drop our reference or we would leak it later if the keymap was changed.

73d9395 input: Don't leak the initial keymap
src/input.c | 1 +
1 file changed, 1 insertion(+)

Upstream: cgit.freedesktop.org


  • Share