aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/print.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 4f5432d18a..b8d3a622e6 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,8 @@
+2008-01-28 Chenthill Palanisamy <pchenthill@novell.com>
+
+ * gui/print.c: (print_week_summary): Free the component
+ data.
+
2008-01-28 Milan Crha <mcrha@redhat.com>
** Fix for bug #355864
diff --git a/calendar/gui/print.c b/calendar/gui/print.c
index c3685e6c88..7227cad3dc 100644
--- a/calendar/gui/print.c
+++ b/calendar/gui/print.c
@@ -1805,6 +1805,7 @@ print_week_summary (GtkPrintContext *context, GnomeCalendar *gcal,
/* Free everything. */
for (event_num = 0; event_num < psi.events->len; event_num++) {
event = &g_array_index (psi.events, EWeekViewEvent, event_num);
+ e_cal_model_free_component_data (event->comp_data);
}
g_array_free (psi.events, TRUE);
g_array_free (spans, TRUE);