aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-start-here.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ephy-start-here.c')
-rw-r--r--lib/ephy-start-here.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ephy-start-here.c b/lib/ephy-start-here.c
index 030b5d5f6..40b23c452 100644
--- a/lib/ephy-start-here.c
+++ b/lib/ephy-start-here.c
@@ -274,6 +274,7 @@ ephy_start_here_get_page (EphyStartHere *sh, const char *id)
xml_filename = g_strconcat ("starthere/", id, ".xml", NULL);
xml_filepath = ephy_file (xml_filename);
+ if (!xml_filepath) return NULL;
g_free (xml_filename);
sh->priv->doc = xmlParseFile (xml_filepath);