aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <diegoe@igalia.com>2012-03-03 13:56:14 +0800
committerDiego Escalante Urrelo <diegoe@igalia.com>2012-03-08 04:28:41 +0800
commit7f1d95504677324db94b5f4b3be188e5ef0f7a4c (patch)
treedc878be7d63d3672b1ed4077ad8bf3ab43f20f19
parent4240936670ed87c2b68e89476463c9eb21792f67 (diff)
downloadgsoc2013-epiphany-7f1d95504677324db94b5f4b3be188e5ef0f7a4c.tar
gsoc2013-epiphany-7f1d95504677324db94b5f4b3be188e5ef0f7a4c.tar.gz
gsoc2013-epiphany-7f1d95504677324db94b5f4b3be188e5ef0f7a4c.tar.bz2
gsoc2013-epiphany-7f1d95504677324db94b5f4b3be188e5ef0f7a4c.tar.lz
gsoc2013-epiphany-7f1d95504677324db94b5f4b3be188e5ef0f7a4c.tar.xz
gsoc2013-epiphany-7f1d95504677324db94b5f4b3be188e5ef0f7a4c.tar.zst
gsoc2013-epiphany-7f1d95504677324db94b5f4b3be188e5ef0f7a4c.zip
ephy-history-service-hosts-table: init host to NULL
https://bugzilla.gnome.org/show_bug.cgi?id=671594
-rw-r--r--lib/history/ephy-history-service-hosts-table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/history/ephy-history-service-hosts-table.c b/lib/history/ephy-history-service-hosts-table.c
index 880a6392a..aced16e7c 100644
--- a/lib/history/ephy-history-service-hosts-table.c
+++ b/lib/history/ephy-history-service-hosts-table.c
@@ -298,7 +298,7 @@ ephy_history_service_get_host_row_from_url (EphyHistoryService *self,
{
GList *host_locations, *l;
char *hostname;
- EphyHistoryHost *host;
+ EphyHistoryHost *host = NULL;
host_locations = get_hostname_and_locations (url, &hostname);