wayland: display: Fix memory leak

https://bugzilla.gnome.org/show_bug.cgi?id=696767
This commit is contained in:
Pavel Vasin 2013-03-28 15:21:11 +04:00 committed by Matthias Clasen
parent edbb522f1f
commit 5d9c07a061

View File

@ -535,6 +535,8 @@ _gdk_wayland_display_get_keymap (GdkDisplay *display)
break;
}
g_list_free (list);
if (core_keyboard && tmp_keymap)
{
g_object_unref (tmp_keymap);