From cd868fb9e93ff773dd2ab406770117f55b6b4dd8 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Fri, 4 Apr 2003 17:37:02 +0000 Subject: Don't free static string. * gui/e-itip-control.c (write_html): Don't free static string. svn path=/trunk/; revision=20670 --- calendar/gui/e-itip-control.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'calendar/gui') 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) : _("None"); gtk_html_stream_printf (html_stream, "%s
%s

", _("Summary:"), html); - g_free (html); + if (text.value) + g_free (html); /* Location */ cal_component_get_location (priv->comp, &string); -- cgit v1.2.3