[evolution] Bug 629413 - use-after-free in bad cert dialog
- From: David Woodhouse <dwmw2 src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Bug 629413 - use-after-free in bad cert dialog
- Date: Sun, 12 Sep 2010 11:12:09 +0000 (UTC)
commit a7d4f03e4fcdf630baaa35b6e6dc3b05c16ef9ef
Author: David Woodhouse <David Woodhouse intel com>
Date: Sun Sep 12 12:05:54 2010 +0100
Bug 629413 - use-after-free in bad cert dialog
mail/mail-session.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/mail/mail-session.c b/mail/mail-session.c
index f120d2f..4e4850b 100644
--- a/mail/mail-session.c
+++ b/mail/mail-session.c
@@ -466,9 +466,7 @@ alert_user(CamelSession *session, CamelSessionAlertType type, const gchar *promp
e_flag_wait (m->done);
result = m->result;
mail_msg_unref (m);
- }
-
- if (m->ismain)
+ } else if (m->ismain)
mail_msg_unref (m);
return result;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]