aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog4
-rw-r--r--calendar/gui/e-itip-control.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 4ab2888359..753f1bc4d2 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,7 @@
+2003-04-04 Dan Winship <danw@ximian.com>
+
+ * gui/e-itip-control.c (write_html): Don't free static string.
+
2003-04-04 JP Rosevear <jpr@ximian.com>
* cal-client/cal-client.c (get_default_uri): guard against empty
diff --git a/calendar/gui/e-itip-control.c b/calendar/gui/e-itip-control.c
index 48eeae1672..ac04a13042 100644
--- a/calendar/gui/e-itip-control.c
+++ b/calendar/gui/e-itip-control.c
@@ -1048,7 +1048,8 @@ write_html (EItipControl *itip, const gchar *itip_desc, const gchar *itip_title,
html = text.value ? camel_text_to_html (text.value, CAMEL_MIME_FILTER_TOHTML_CONVERT_NL, 0) : _("<i>None</i>");
gtk_html_stream_printf (html_stream, "<b>%s</b><br>%s<br><br>",
_("Summary:"), html);
- g_free (html);
+ if (text.value)
+ g_free (html);
/* Location */
cal_component_get_location (priv->comp, &string);