diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-01-26 04:06:44 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-01-26 04:06:44 +0800 |
commit | 1b1252af7d5375985948ae461cdb30629d18b2af (patch) | |
tree | f39457593be09615f6ec0ad09031bb22bd92a274 /src | |
parent | c357f8c35a7d3447482d8dadf588ed4fb0ca6f0b (diff) | |
download | gsoc2013-epiphany-1b1252af7d5375985948ae461cdb30629d18b2af.tar gsoc2013-epiphany-1b1252af7d5375985948ae461cdb30629d18b2af.tar.gz gsoc2013-epiphany-1b1252af7d5375985948ae461cdb30629d18b2af.tar.bz2 gsoc2013-epiphany-1b1252af7d5375985948ae461cdb30629d18b2af.tar.lz gsoc2013-epiphany-1b1252af7d5375985948ae461cdb30629d18b2af.tar.xz gsoc2013-epiphany-1b1252af7d5375985948ae461cdb30629d18b2af.tar.zst gsoc2013-epiphany-1b1252af7d5375985948ae461cdb30629d18b2af.zip |
Fix mem leaks.
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/bookmarks/ephy-bookmarks-editor.c | 3 |
1 files changed, 1 insertions, 2 deletions
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; |