[evolution] Fix a memory leak in EMailDisplay::do_reload_display



commit fcf360d0519649b43d047458e492677c027f6645
Author: Milan Crha <mcrha redhat com>
Date:   Thu Feb 21 11:10:44 2013 +0100

    Fix a memory leak in EMailDisplay::do_reload_display

 mail/e-mail-display.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/mail/e-mail-display.c b/mail/e-mail-display.c
index 0a478b0..33f1f1d 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);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]