aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-itip-control.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2003-04-05 01:37:02 +0800
committerDan Winship <danw@src.gnome.org>2003-04-05 01:37:02 +0800
commitcd868fb9e93ff773dd2ab406770117f55b6b4dd8 (patch)
tree24c67e530404ccb3d5d612cadfbaad026ff09eb9 /calendar/gui/e-itip-control.c
parentb0c9c4b4b00699df8f5d4ffa2583a26de73a7a3f (diff)
downloadgsoc2013-evolution-cd868fb9e93ff773dd2ab406770117f55b6b4dd8.tar
gsoc2013-evolution-cd868fb9e93ff773dd2ab406770117f55b6b4dd8.tar.gz
gsoc2013-evolution-cd868fb9e93ff773dd2ab406770117f55b6b4dd8.tar.bz2
gsoc2013-evolution-cd868fb9e93ff773dd2ab406770117f55b6b4dd8.tar.lz
gsoc2013-evolution-cd868fb9e93ff773dd2ab406770117f55b6b4dd8.tar.xz
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/gui/e-itip-control.c')
-rw-r--r--calendar/gui/e-itip-control.c3
1 files changed, 2 insertions, 1 deletions
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);