summaryrefslogtreecommitdiff
path: root/libsylph/prefs_account.c
diff options
context:
space:
mode:
Diffstat (limited to 'libsylph/prefs_account.c')
-rw-r--r--libsylph/prefs_account.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libsylph/prefs_account.c b/libsylph/prefs_account.c
index fc4d8f1..54cbc89 100644
--- a/libsylph/prefs_account.c
+++ b/libsylph/prefs_account.c
@@ -239,6 +239,7 @@ void prefs_account_read_config(PrefsAccount *ac_prefs, const gchar *label)
239 label); 239 label);
240 tmp_str = ac_prefs->passwd; 240 tmp_str = ac_prefs->passwd;
241 ac_prefs->passwd = encrypt_with_master_password(ac_prefs->passwd); 241 ac_prefs->passwd = encrypt_with_master_password(ac_prefs->passwd);
242 cleanse_buffer(tmp_str, strlen(tmp_str));
242 g_free(tmp_str); 243 g_free(tmp_str);
243 } 244 }
244 245
@@ -251,6 +252,7 @@ void prefs_account_read_config(PrefsAccount *ac_prefs, const gchar *label)
251 tmp_str = ac_prefs->smtp_passwd; 252 tmp_str = ac_prefs->smtp_passwd;
252 ac_prefs->smtp_passwd = encrypt_with_master_password( 253 ac_prefs->smtp_passwd = encrypt_with_master_password(
253 ac_prefs->smtp_passwd); 254 ac_prefs->smtp_passwd);
255 cleanse_buffer(tmp_str, strlen(tmp_str));
254 g_free(tmp_str); 256 g_free(tmp_str);
255 } 257 }
256 258