From 126fef4ef3d456e84f045e1760d491964b3e2717 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Tue, 25 Mar 2008 14:54:40 +0000 Subject: ** Fix for bug #524310 2008-03-25 Dan Williams ** Fix for bug #524310 * mail/mail-session.c: don't double-free server messages svn path=/trunk/; revision=35244 --- ChangeLog | 6 ++++++ mail/mail-session.c | 4 +--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8f5e96874b..4bbc91d65a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-03-25 Dan Williams + + ** Fix for bug #524310 + + * mail/mail-session.c: don't double-free server messages + 2008-03-17 Paul Bolle ** Fix for bug #519421 diff --git a/mail/mail-session.c b/mail/mail-session.c index c8710d63d4..597d7ab8a3 100644 --- a/mail/mail-session.c +++ b/mail/mail-session.c @@ -433,10 +433,8 @@ alert_user(CamelSession *session, CamelSessionAlertType type, const char *prompt mail_msg_unref (m); } - if (m->ismain) { - user_message_free (m); + if (m->ismain) mail_msg_unref (m); - } return result; } -- cgit v1.2.3