[libdazzle] three-grid: don't leak values from hashtable
- From: Christian Hergert <chergert src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [libdazzle] three-grid: don't leak values from hashtable
 
- Date: Tue, 20 Nov 2018 01:43:35 +0000 (UTC)
 
commit 1e0d6e924936729e0b5de693945d81ea63f5364c
Author: Christian Hergert <chergert redhat com>
Date:   Mon Nov 19 17:43:24 2018 -0800
    three-grid: don't leak values from hashtable
    
    We are responsible for freeing the GList chain, so ensure we do that at
    the end of size-allocate.
 src/widgets/dzl-three-grid.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/widgets/dzl-three-grid.c b/src/widgets/dzl-three-grid.c
index 0de5484..d00d0b1 100644
--- a/src/widgets/dzl-three-grid.c
+++ b/src/widgets/dzl-three-grid.c
@@ -569,6 +569,8 @@ dzl_three_grid_size_allocate (GtkWidget     *widget,
       area.y += child_alloc.height + priv->row_spacing;
       area.height -= child_alloc.height + priv->row_spacing;
     }
+
+  g_list_free (values);
 }
 
 static void
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]