fix double-free crasher in Edit Accounts dialogue
authorPaul <paul@claws-mail.org>
Mon, 10 Jun 2013 13:54:15 +0000 (14:54 +0100)
committerPaul <paul@claws-mail.org>
Mon, 10 Jun 2013 13:54:15 +0000 (14:54 +0100)
src/account.c

index da4c8075755dede9096c997fb5f990506f1aac4c..110cf5d70efc0023df1c996fd092bda88d7d55ef 100644 (file)
@@ -661,7 +661,6 @@ void account_destroy(PrefsAccount *ac_prefs)
 
        folder_unref_account_all(ac_prefs);
 
-       prefs_account_free(ac_prefs);
        account_list = g_list_remove(account_list, ac_prefs);
 
        if (cur_account == ac_prefs) cur_account = NULL;