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 --- mail/mail-session.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'mail') 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