[epiphany] ephy-history-window: plug a couple of leaks



commit 0fcb144d136241637c4cfa04715754241907f90a
Author: Claudio Saavedra <csaavedra igalia com>
Date:   Thu Mar 8 11:02:46 2012 +0200

    ephy-history-window: plug a couple of leaks

 lib/widgets/ephy-hosts-store.c |    2 +-
 lib/widgets/ephy-urls-store.c  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/lib/widgets/ephy-hosts-store.c b/lib/widgets/ephy-hosts-store.c
index 99fff48..b5a9e6a 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 f859e72..f8e216e 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,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]