aboutsummaryrefslogtreecommitdiffstats
path: root/my-evolution/e-summary-mail.c
diff options
context:
space:
mode:
Diffstat (limited to 'my-evolution/e-summary-mail.c')
-rw-r--r--my-evolution/e-summary-mail.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/my-evolution/e-summary-mail.c b/my-evolution/e-summary-mail.c
index b3696dc5fb..73d919ca4a 100644
--- a/my-evolution/e-summary-mail.c
+++ b/my-evolution/e-summary-mail.c
@@ -278,6 +278,8 @@ mail_change_notify (BonoboListener *listener,
mail = summary->mail;
+ g_return_if_fail (mail != NULL);
+
count = arg->_value;
folder = g_hash_table_lookup (mail->folders, count->path);
@@ -404,6 +406,8 @@ e_summary_mail_init (ESummary *summary,
CORBA_exception_free (&ev);
g_free (mail);
+ summary->mail = NULL;
+
return;
}