[evolution/webkit: 172/196] 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/196] Fix possible crash when EMailDisplay when trying to create DOM bindings
- Date: Tue, 27 Mar 2012 16:15:11 +0000 (UTC)
commit decfa59b882436f3dbc28e4c4144e960f53d7b64
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]