aboutsummaryrefslogtreecommitdiffstats
path: root/my-evolution/e-summary-mail.c
diff options
context:
space:
mode:
authorIain Holmes <iain@src.gnome.org>2001-10-20 02:23:28 +0800
committerIain Holmes <iain@src.gnome.org>2001-10-20 02:23:28 +0800
commit1fe301e0a65de7b7d5af77678c1855d997dcf0e3 (patch)
tree0fddbefdd57e1b45393810fd34eacef7dcbd6d71 /my-evolution/e-summary-mail.c
parent6d12ca604892e382e65d3db6ecfee07335eae685 (diff)
downloadgsoc2013-evolution-1fe301e0a65de7b7d5af77678c1855d997dcf0e3.tar.gz
gsoc2013-evolution-1fe301e0a65de7b7d5af77678c1855d997dcf0e3.tar.zst
gsoc2013-evolution-1fe301e0a65de7b7d5af77678c1855d997dcf0e3.zip
Null some freed memory
svn path=/trunk/; revision=13799
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;
}