[gtk+/gtk-3-16] Plug a memory leak



commit 369ae4d9b18787ef54f8de7a1772ff5f85c7d7b1
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Sep 15 10:32:02 2015 -0400

    Plug a memory leak

 demos/gtk-demo/listbox.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/demos/gtk-demo/listbox.c b/demos/gtk-demo/listbox.c
index eeeda5a..ee94d55 100644
--- a/demos/gtk-demo/listbox.c
+++ b/demos/gtk-demo/listbox.c
@@ -358,6 +358,7 @@ do_listbox (GtkWidget *do_widget)
         }
 
       g_strfreev (lines);
+      g_bytes_unref (data);
     }
 
   if (!gtk_widget_get_visible (window))


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