[Commits] [SCM] claws branch, master, updated. 3.9.2-27-g306bf2e
claws at claws-mail.org
claws at claws-mail.org
Mon Jul 8 18:07:27 CEST 2013
The branch master of project "claws" (Claws Mail) has been updated
via 306bf2ef35f2d074d786a85bcf5454cfc5f4b2e1 (commit)
from 075d16af79053b6e867d982e946f1db760cdc0c3 (commit)
- Log -----------------------------------------------------------------
commit 306bf2ef35f2d074d786a85bcf5454cfc5f4b2e1
Author: Paul <paul at claws-mail.org>
Date: Mon Jul 8 17:05:09 2013 +0100
fix bug 2957, 'Double-free in account preferences'
diff --git a/src/prefs_account.c b/src/prefs_account.c
index 32eeeed..7990a31 100644
--- a/src/prefs_account.c
+++ b/src/prefs_account.c
@@ -3700,10 +3700,9 @@ PrefsAccount *prefs_account_open(PrefsAccount *ac_prefs, gboolean *dirty)
if (!cancelled && dirty != NULL)
*dirty = TRUE;
- if (cancelled && new_account) {
- prefs_account_free(ac_prefs);
+ if (cancelled && new_account)
return NULL;
- } else {
+ else {
if (ac_prefs->recv_server)
g_strstrip(ac_prefs->recv_server);
if (ac_prefs->smtp_server)
-----------------------------------------------------------------------
Summary of changes:
src/prefs_account.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list