aboutsummaryrefslogtreecommitdiff
path: root/libsylph/prefs_account.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-01-24 07:45:31 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-01-24 07:45:31 +0000
commit08d493a056aa2bc326f8d1f5f3c0dfa61511ceb1 (patch)
treec0b7903822b5246303bf974a64adfec9b34b2e85 /libsylph/prefs_account.c
parentf41de13c3162472bba4fe9f3ac233f52f9827af1 (diff)
save temporary IMAP4 password. Don't try to connect to IMAP4 server when closing folder.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@921 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph/prefs_account.c')
-rw-r--r--libsylph/prefs_account.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libsylph/prefs_account.c b/libsylph/prefs_account.c
index a6c229dd..20f07eb3 100644
--- a/libsylph/prefs_account.c
+++ b/libsylph/prefs_account.c
@@ -237,6 +237,10 @@ void prefs_account_free(PrefsAccount *ac_prefs)
tmp_ac_prefs = *ac_prefs;
prefs_free(param);
+
+ if (ac_prefs->tmp_pass)
+ g_free(ac_prefs->tmp_pass);
+ g_free(ac_prefs);
}
static gint prefs_account_get_new_id(void)