aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClaudio Saavedra <csaavedra@igalia.com>2012-03-08 17:02:46 +0800
committerClaudio Saavedra <csaavedra@igalia.com>2012-03-08 17:27:30 +0800
commit0fcb144d136241637c4cfa04715754241907f90a (patch)
tree838d787bb6725d5d0d7d870c7942f972c8a5392d
parent28c7f79185ada7c67a790f982abb4ec737397c29 (diff)
downloadgsoc2013-epiphany-0fcb144d136241637c4cfa04715754241907f90a.tar.gz
gsoc2013-epiphany-0fcb144d136241637c4cfa04715754241907f90a.tar.zst
gsoc2013-epiphany-0fcb144d136241637c4cfa04715754241907f90a.zip
ephy-history-window: plug a couple of leaks
-rw-r--r--lib/widgets/ephy-hosts-store.c2
-rw-r--r--lib/widgets/ephy-urls-store.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/widgets/ephy-hosts-store.c b/lib/widgets/ephy-hosts-store.c
index 99fff4833..b5a9e6af4 100644
--- a/lib/widgets/ephy-hosts-store.c
+++ b/lib/widgets/ephy-hosts-store.c
@@ -91,7 +91,7 @@ ephy_hosts_store_get_host_from_path (EphyHostsStore *store,
{
GtkTreeIter iter;
- EphyHistoryHost *host = ephy_history_host_new ("", "", 0, 1.0);
+ EphyHistoryHost *host = ephy_history_host_new (NULL, NULL, 0, 1.0);
gtk_tree_model_get_iter (GTK_TREE_MODEL (store), &iter, path);
gtk_tree_model_get (GTK_TREE_MODEL (store), &iter,
diff --git a/lib/widgets/ephy-urls-store.c b/lib/widgets/ephy-urls-store.c
index f859e72cc..f8e216e81 100644
--- a/lib/widgets/ephy-urls-store.c
+++ b/lib/widgets/ephy-urls-store.c
@@ -84,7 +84,7 @@ ephy_urls_store_get_url_from_path (EphyURLsStore *store,
{
GtkTreeIter iter;
- EphyHistoryURL *url = ephy_history_url_new ("", "", 0, 0, 0);
+ EphyHistoryURL *url = ephy_history_url_new (NULL, NULL, 0, 0, 0);
gtk_tree_model_get_iter (GTK_TREE_MODEL (store), &iter, path);
gtk_tree_model_get (GTK_TREE_MODEL (store), &iter,