aboutsummaryrefslogtreecommitdiffstats
path: root/my-evolution/e-summary-mail.c
diff options
context:
space:
mode:
Diffstat (limited to 'my-evolution/e-summary-mail.c')
-rw-r--r--my-evolution/e-summary-mail.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/my-evolution/e-summary-mail.c b/my-evolution/e-summary-mail.c
index fbb9a28de9..b3696dc5fb 100644
--- a/my-evolution/e-summary-mail.c
+++ b/my-evolution/e-summary-mail.c
@@ -118,7 +118,7 @@ e_summary_mail_generate_html (ESummary *summary)
ESummaryMail *mail;
GString *string;
GList *p;
- gchar *s;
+ char *s, *old;
g_return_if_fail (summary != NULL);
g_return_if_fail (IS_E_SUMMARY (summary));
@@ -137,8 +137,12 @@ e_summary_mail_generate_html (ESummary *summary)
}
g_string_append (string, "</table></dd></dl>");
- g_free (mail->html);
+
+ old = mail->html;
mail->html = string->str;
+
+ g_free (old);
+
g_string_free (string, FALSE);
}
@@ -391,6 +395,7 @@ e_summary_mail_init (ESummary *summary,
mail = g_new0 (ESummaryMail, 1);
summary->mail = mail;
+ mail->html = NULL;
CORBA_exception_init (&ev);
mail->folder_info = oaf_activate_from_id (MAIL_IID, 0, NULL, &ev);
if (BONOBO_EX (&ev)) {
ons'>+1 * - Update The Glorious Glasgow Haskell Compiler to version 7.4.2pgj2012-12-201-6/+1 * - Teach the Haskell Cabal ports to use the new options frameworkpgj2012-08-031-1/+1 * - Update The Glorious Glasgow Haskell Compiler to version 7.4.1pgj2012-06-041-1/+1 * - update png to 1.5.10dinoex2012-06-011-0/+1 * - Update to 0.12.1pgj2012-02-133-22/+4 * Bump PORTREVISION of all ports dependent on lang/ghc as duringashish2011-05-261-0/+1