diff options
Diffstat (limited to 'embed')
-rw-r--r-- | embed/ephy-history.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/embed/ephy-history.c b/embed/ephy-history.c index f818ceb21..c1f7e2aa4 100644 --- a/embed/ephy-history.c +++ b/embed/ephy-history.c @@ -481,7 +481,8 @@ ephy_history_host_set_title (EphyHistory *eh, host_url = ephy_node_get_property_string (host, EPHY_NODE_PAGE_PROP_LOCATION); - if (strcmp (real_url, host_url) == 0) + if (real_url && host_url && + strcmp (real_url, host_url) == 0) { g_value_init (&value, G_TYPE_STRING); |