aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer.c
diff options
context:
space:
mode:
Diffstat (limited to 'composer/e-msg-composer.c')
-rw-r--r--composer/e-msg-composer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index bce1c3de91..6eebba6e6e 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -4213,6 +4213,8 @@ e_msg_composer_new_with_message (CamelMimeMessage *message)
if ((account = mail_config_get_account_by_uid(account_name)) == NULL)
/* 'old' setting */
account = mail_config_get_account_by_name(account_name);
+ g_free (account_name);
+ account_name = g_strdup (account->name);
}
if (postto == NULL) {