From 656a1daa6d2ed24dc3c119a869caf649bccf161c Mon Sep 17 00:00:00 2001 From: Claudio Saavedra Date: Fri, 11 Sep 2009 17:04:33 +0300 Subject: [PATCH] Properly free the container's children list --- hildon/hildon-window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hildon/hildon-window.c b/hildon/hildon-window.c index 3d70b02..1d5e3e0 100644 --- a/hildon/hildon-window.c +++ b/hildon/hildon-window.c @@ -1366,7 +1366,7 @@ hildon_window_update_menu_flag (HildonWindow *self, { GList *menu_children = gtk_container_get_children (GTK_CONTAINER (priv->menu)); hildon_window_set_menu_flag (self, priv->menu != NULL && menu_children != NULL); - g_free (menu_children); + g_list_free (menu_children); } } } -- 1.7.9.5