diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | src/bookmarks/ephy-bookmarks-editor.c | 3 |
2 files changed, 8 insertions, 2 deletions
@@ -1,5 +1,12 @@ 2004-01-25 Christian Persch <chpe@cvs.gnome.org> + * src/bookmarks/ephy-bookmarks-editor.c: (search_entry_search_cb), + (get_details_value): + + Fix mem leaks. + +2004-01-25 Christian Persch <chpe@cvs.gnome.org> + * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_finalize): diff --git a/src/bookmarks/ephy-bookmarks-editor.c b/src/bookmarks/ephy-bookmarks-editor.c index f2bd52b6e..42b671a04 100644 --- a/src/bookmarks/ephy-bookmarks-editor.c +++ b/src/bookmarks/ephy-bookmarks-editor.c @@ -1184,8 +1184,6 @@ search_entry_search_cb (GtkWidget *entry, const char *search_text, EphyBookmarks G_CALLBACK (keyword_node_selected_cb), editor); - search_text = gtk_editable_get_chars (GTK_EDITABLE (entry), 0, -1); - ephy_node_filter_empty (editor->priv->bookmarks_filter); ephy_node_filter_add_expression (editor->priv->bookmarks_filter, ephy_node_filter_expression_new (EPHY_NODE_FILTER_EXPRESSION_STRING_PROP_CONTAINS, @@ -1337,6 +1335,7 @@ get_details_value (EphyBookmarksEditor *editor) value = VIEW_TITLE; } + g_slist_foreach (svalues, (GFunc) g_free, NULL); g_slist_free (svalues); return value; |