summaryrefslogtreecommitdiff
path: root/gdk/wayland/gdkscreen-wayland.c
diff options
context:
space:
mode:
authorRui Matos <tiagomatos@gmail.com>2015-01-27 18:50:33 +0100
committerRui Matos <tiagomatos@gmail.com>2015-01-28 17:17:09 +0100
commit2dd07f346a0f724146c6ba7d6ce3a3372d901397 (patch)
tree9f92c81da174710db33da7ef7744c21ab710b3b8 /gdk/wayland/gdkscreen-wayland.c
parentf717d984582e75747c123e30ed5672a69c6936f8 (diff)
downloadgtk+-2dd07f346a0f724146c6ba7d6ce3a3372d901397.tar.gz
gdkscreen-wayland: Don't leak wl_output objects
https://bugzilla.gnome.org/show_bug.cgi?id=743633
Diffstat (limited to 'gdk/wayland/gdkscreen-wayland.c')
-rw-r--r--gdk/wayland/gdkscreen-wayland.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdk/wayland/gdkscreen-wayland.c b/gdk/wayland/gdkscreen-wayland.c
index 096b2fe636..980aa6b6b8 100644
--- a/gdk/wayland/gdkscreen-wayland.c
+++ b/gdk/wayland/gdkscreen-wayland.c
@@ -110,6 +110,7 @@ free_monitor (gpointer data)
if (monitor == NULL)
return;
+ wl_output_destroy (monitor->output);
g_free (monitor->output_name);
g_free (monitor->manufacturer);