From d9775521cad4588963b2edb297551c85fae1459f Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Wed, 19 Sep 2001 05:01:15 +0000 Subject: remove silly debug #if 0 2001-09-19 JP Rosevear * gui/e-meeting-model.c (e_meeting_model_refresh_busy_periods): remove silly debug #if 0 * gui/calendar-commands.c (publish_freebusy_cmd): g_list_free rather than g_free * gui/e-itip-control.c (write_html): eliminate code path that caused double freed memory svn path=/trunk/; revision=12972 --- calendar/gui/e-itip-control.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'calendar/gui/e-itip-control.c') diff --git a/calendar/gui/e-itip-control.c b/calendar/gui/e-itip-control.c index 0045ebb0ae..8bbafb8dbd 100644 --- a/calendar/gui/e-itip-control.c +++ b/calendar/gui/e-itip-control.c @@ -637,7 +637,9 @@ write_html (EItipControl *itip, gchar *itip_desc, gchar *itip_title, gchar *opti html = g_strdup_printf (itip_desc, organizer.cn ? organizer.cn : - itip_strip_mailto (organizer.value)); + itip_strip_mailto (organizer.value)); + else + html = g_strdup_printf (itip_desc, "An unknown person"); break; } gtk_html_write (GTK_HTML (priv->html), html_stream, html, strlen(html)); -- cgit v1.2.3