[gtk+] wayland: display: Fix memory leak
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] wayland: display: Fix memory leak
- Date: Wed, 3 Apr 2013 23:30:44 +0000 (UTC)
commit 5d9c07a0615930670f4eb6faf49d3f127e2be580
Author: Pavel Vasin <rat4vier gmail com>
Date: Thu Mar 28 15:21:11 2013 +0400
wayland: display: Fix memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=696767
gdk/wayland/gdkdisplay-wayland.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gdk/wayland/gdkdisplay-wayland.c b/gdk/wayland/gdkdisplay-wayland.c
index b397df7..83b8dc1 100644
--- a/gdk/wayland/gdkdisplay-wayland.c
+++ b/gdk/wayland/gdkdisplay-wayland.c
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]