From 4f31e5d02a84e5fcba846bf080a88f64a7d8e5d8 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Thu, 18 Mar 2010 03:40:32 +0000 Subject: [PATCH] (trunk gtk) fix memory leak --- gtk/filter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/filter.c b/gtk/filter.c index 4e31062e4..99e21359a 100644 --- a/gtk/filter.c +++ b/gtk/filter.c @@ -317,9 +317,9 @@ category_filter_model_update( GtkTreeStore * store ) } /* cleanup */ + g_ptr_array_foreach( hosts, (GFunc)g_free, NULL ); g_ptr_array_free( hosts, TRUE ); g_hash_table_unref( hosts_hash ); - g_ptr_array_foreach( hosts, (GFunc)g_free, NULL ); return FALSE; }