From a05676a3259e266aa9da842e1059d5df0b177619 Mon Sep 17 00:00:00 2001 From: Pavel Vasin Date: Mon, 11 Jun 2012 12:54:19 +0400 Subject: ephy-bookmarks-editor: fix GList leaks https://bugzilla.gnome.org/show_bug.cgi?id=677720 --- src/bookmarks/ephy-bookmarks-editor.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/bookmarks/ephy-bookmarks-editor.c b/src/bookmarks/ephy-bookmarks-editor.c index 0a5d350ad..fbc6ee239 100644 --- a/src/bookmarks/ephy-bookmarks-editor.c +++ b/src/bookmarks/ephy-bookmarks-editor.c @@ -1139,9 +1139,8 @@ ephy_bookmarks_editor_update_menu (EphyBookmarksEditor *editor) key_normal = (priority == EPHY_NODE_NORMAL_PRIORITY); EPHY_TOPIC_ACTION_NAME_PRINTF (name, node); - - g_list_free (selected); } + g_list_free (selected); selected = ephy_node_view_get_selection (EPHY_NODE_VIEW (editor->priv->bm_view)); if (bmk_focus && selected) @@ -1154,9 +1153,8 @@ ephy_bookmarks_editor_update_menu (EphyBookmarksEditor *editor) mutable = !ephy_node_get_property_boolean (node, EPHY_NODE_BMK_PROP_IMMUTABLE); EPHY_BOOKMARK_ACTION_NAME_PRINTF (name, node); - - g_list_free (selected); } + g_list_free (selected); open_in_window_label = ngettext ("Open in New _Window", "Open in New _Windows", -- cgit