diff options
author | Pavel Vasin <rat4vier@gmail.com> | 2012-06-11 16:54:19 +0800 |
---|---|---|
committer | Claudio Saavedra <csaavedra@igalia.com> | 2012-06-12 17:03:06 +0800 |
commit | a05676a3259e266aa9da842e1059d5df0b177619 (patch) | |
tree | 8be041a827709adfb5db5e30939ae9d05434b7eb /src/bookmarks | |
parent | 2af68d193ad50ad25e204da88858c8329a2a59aa (diff) | |
download | gsoc2013-epiphany-a05676a3259e266aa9da842e1059d5df0b177619.tar gsoc2013-epiphany-a05676a3259e266aa9da842e1059d5df0b177619.tar.gz gsoc2013-epiphany-a05676a3259e266aa9da842e1059d5df0b177619.tar.bz2 gsoc2013-epiphany-a05676a3259e266aa9da842e1059d5df0b177619.tar.lz gsoc2013-epiphany-a05676a3259e266aa9da842e1059d5df0b177619.tar.xz gsoc2013-epiphany-a05676a3259e266aa9da842e1059d5df0b177619.tar.zst gsoc2013-epiphany-a05676a3259e266aa9da842e1059d5df0b177619.zip |
ephy-bookmarks-editor: fix GList leaks
https://bugzilla.gnome.org/show_bug.cgi?id=677720
Diffstat (limited to 'src/bookmarks')
-rw-r--r-- | src/bookmarks/ephy-bookmarks-editor.c | 6 |
1 files 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", |