aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2013-02-21 18:10:44 +0800
committerMilan Crha <mcrha@redhat.com>2013-02-21 18:10:44 +0800
commitfcf360d0519649b43d047458e492677c027f6645 (patch)
tree032936af69c67aac14b36a869b096556c87ad520 /mail
parentfd9622bb413c881bf4b6a5447ec438f5323c58bc (diff)
downloadgsoc2013-evolution-fcf360d0519649b43d047458e492677c027f6645.tar.gz
gsoc2013-evolution-fcf360d0519649b43d047458e492677c027f6645.tar.zst
gsoc2013-evolution-fcf360d0519649b43d047458e492677c027f6645.zip
Fix a memory leak in EMailDisplay::do_reload_display
Diffstat (limited to 'mail')
-rw-r--r--mail/e-mail-display.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/e-mail-display.c b/mail/e-mail-display.c
index 0a478b072a..33f1f1d8db 100644
--- a/mail/e-mail-display.c
+++ b/mail/e-mail-display.c
@@ -1893,9 +1893,9 @@ do_reload_display (EMailDisplay *display)
g_hash_table_replace (
table, g_strdup ("headers_collapsed"), collapsed);
g_hash_table_replace (
- table, g_strdup ("formatter_default_charset"), g_strdup (default_charset));
+ table, g_strdup ("formatter_default_charset"), (gpointer) default_charset);
g_hash_table_replace (
- table, g_strdup ("formatter_charset"), g_strdup (charset));
+ table, g_strdup ("formatter_charset"), (gpointer) charset);
query = soup_form_encode_hash (table);