diff options
Diffstat (limited to 'mail/mail-config-druid.c')
-rw-r--r-- | mail/mail-config-druid.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/mail-config-druid.c b/mail/mail-config-druid.c index ba9537593e..62a4144970 100644 --- a/mail/mail-config-druid.c +++ b/mail/mail-config-druid.c @@ -207,12 +207,15 @@ druid_finish (GnomeDruidPage *page, gpointer arg1, gpointer user_data) if (str) { /* cache the password and rewrite the url without the password part */ url = camel_url_new (str, NULL); + g_free (str); source->url = camel_url_to_string (url, FALSE); if (source->save_passwd && url->passwd) { mail_session_set_password (source->url, url->passwd); mail_session_remember_password (source->url); } camel_url_free (url); + } else { + source->url = NULL; } /* construct the transport */ |