aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-file-helpers.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ephy-file-helpers.c')
-rw-r--r--lib/ephy-file-helpers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ephy-file-helpers.c b/lib/ephy-file-helpers.c
index c92c66f30..45278b31a 100644
--- a/lib/ephy-file-helpers.c
+++ b/lib/ephy-file-helpers.c
@@ -872,7 +872,7 @@ ephy_file_launch_handler (const char *mime_type,
g_return_val_if_fail (address != NULL, FALSE);
canonical = gnome_vfs_make_uri_canonical (address);
- g_return_val_if_fail (canonical != NULL, FALSE);
+ if (canonical == NULL) return FALSE;
if (mime_type != NULL)
{