[gimp] app: free one more list returned by gtk_container_get_children()



commit a60463cd8e11f7737181a2ec0848d7bcb1b63bb2
Author: Michael Natterer <mitch gimp org>
Date:   Wed Jun 23 00:19:44 2010 +0200

    app: free one more list returned by gtk_container_get_children()

 app/widgets/gimpitemtreeview.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/widgets/gimpitemtreeview.c b/app/widgets/gimpitemtreeview.c
index e6b55db..3c5ee0b 100644
--- a/app/widgets/gimpitemtreeview.c
+++ b/app/widgets/gimpitemtreeview.c
@@ -561,7 +561,7 @@ gimp_item_tree_view_style_set (GtkWidget *widget,
             }
         }
 
-      g_list_free (list);
+      g_list_free (children);
     }
 
   GTK_WIDGET_CLASS (parent_class)->style_set (widget, prev_style);



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