aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-display.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-display.c')
-rw-r--r--mail/mail-display.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/mail-display.c b/mail/mail-display.c
index 8b07d7eaec..b5db4c69e1 100644
--- a/mail/mail-display.c
+++ b/mail/mail-display.c
@@ -275,7 +275,8 @@ on_url_requested (GtkHTML *html, const char *url, GtkHTMLStream *handle,
urls = gtk_object_get_data (GTK_OBJECT (message), "urls");
user_data = g_hash_table_lookup (urls, url);
- g_return_if_fail (user_data != NULL);
+ if (user_data == NULL)
+ return;
if (strncmp (url, "cid:", 4) == 0) {
CamelMedium *medium = user_data;