[gtk+] gdkscreen-wayland: Don't leak wl_output objects



commit 2dd07f346a0f724146c6ba7d6ce3a3372d901397
Author: Rui Matos <tiagomatos gmail com>
Date:   Tue Jan 27 18:50:33 2015 +0100

    gdkscreen-wayland: Don't leak wl_output objects
    
    https://bugzilla.gnome.org/show_bug.cgi?id=743633

 gdk/wayland/gdkscreen-wayland.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gdk/wayland/gdkscreen-wayland.c b/gdk/wayland/gdkscreen-wayland.c
index 096b2fe..980aa6b 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);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]