aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
Diffstat (limited to 'embed')
-rw-r--r--embed/mozilla/mozilla-embed.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/embed/mozilla/mozilla-embed.cpp b/embed/mozilla/mozilla-embed.cpp
index 1ebec735a..c031664af 100644
--- a/embed/mozilla/mozilla-embed.cpp
+++ b/embed/mozilla/mozilla-embed.cpp
@@ -513,6 +513,8 @@ impl_get_location (EphyEmbed *embed,
char *l;
nsresult rv;
nsCAutoString url;
+
+ if (mpriv->browser == NULL) return NULL;
if (toplevel)
{