[evolution/webkit: 172/177] Fix possible crash when EMailDisplay when trying to create DOM bindings
- From: Dan VrÃtil <dvratil src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/webkit: 172/177] Fix possible crash when EMailDisplay when trying to create DOM bindings
- Date: Fri, 2 Mar 2012 11:44:05 +0000 (UTC)
commit 88f84c8e2ddf117c73e6eebb57752331bb489fd0
Author: Dan VrÃtil <dvratil redhat com>
Date: Fri Feb 24 14:04:13 2012 +0100
Fix possible crash when EMailDisplay when trying to create DOM bindings
mail/e-mail-display.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/mail/e-mail-display.c b/mail/e-mail-display.c
index 0abf403..1b0cfbc 100644
--- a/mail/e-mail-display.c
+++ b/mail/e-mail-display.c
@@ -1118,6 +1118,9 @@ puri_bind_dom (GObject *object,
display = E_MAIL_DISPLAY (web_view);
emf = EM_FORMAT (display->priv->formatter);
+ if (!emf)
+ return;
+
iter = g_hash_table_lookup (
emf->mail_part_table,
webkit_web_frame_get_name (frame));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]