From 0130c7f4cd730755dc6004689ec28458f0b7cf61 Mon Sep 17 00:00:00 2001 From: Jose Millan Soto Date: Wed, 7 Apr 2010 11:33:04 +0200 Subject: Check if URL is NULL before setting its history title Bug #582629 Signed-off-by: Xan Lopez --- embed/ephy-history.c | 1 + 1 file changed, 1 insertion(+) (limited to 'embed') diff --git a/embed/ephy-history.c b/embed/ephy-history.c index ae0e563dc..117315c34 100644 --- a/embed/ephy-history.c +++ b/embed/ephy-history.c @@ -913,6 +913,7 @@ ephy_history_set_page_title (EphyHistory *gh, LOG ("Set page title"); if (title == NULL || title[0] == '\0') return; + if (url == NULL) return; node = ephy_history_get_page (gh, url); if (node == NULL) return; -- cgit v1.2.3