diff options
author | Dan Winship <danw@src.gnome.org> | 2003-04-05 01:37:02 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2003-04-05 01:37:02 +0800 |
commit | cd868fb9e93ff773dd2ab406770117f55b6b4dd8 (patch) | |
tree | 24c67e530404ccb3d5d612cadfbaad026ff09eb9 /calendar | |
parent | b0c9c4b4b00699df8f5d4ffa2583a26de73a7a3f (diff) | |
download | gsoc2013-evolution-cd868fb9e93ff773dd2ab406770117f55b6b4dd8.tar.gz gsoc2013-evolution-cd868fb9e93ff773dd2ab406770117f55b6b4dd8.tar.zst gsoc2013-evolution-cd868fb9e93ff773dd2ab406770117f55b6b4dd8.zip |
Don't free static string.
* gui/e-itip-control.c (write_html): Don't free static string.
svn path=/trunk/; revision=20670
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 4 | ||||
-rw-r--r-- | calendar/gui/e-itip-control.c | 3 |
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); |