aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-format.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-format.c')
-rw-r--r--mail/mail-format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mail-format.c b/mail/mail-format.c
index d1583db0fb..289af71a97 100644
--- a/mail/mail-format.c
+++ b/mail/mail-format.c
@@ -1129,7 +1129,7 @@ mail_format_data_wrapper_write_to_stream (CamelDataWrapper *wrapper, MailDisplay
/* find out the charset the user wants to override to */
if (mail_display && mail_display->charset)
- charset = mail_display->charset;
+ charset = g_strdup (mail_display->charset);
else
charset = gconf_client_get_string (gconf, "/apps/evolution/mail/format/charset", NULL);