From 8b2d851699d93e90b9bf6462321e8f832a1a9128 Mon Sep 17 00:00:00 2001 From: Suman Manjunath Date: Mon, 28 Jan 2008 05:24:56 +0000 Subject: Patch from Chenthill Palanisamy (Fix memory leak while printing month-view) svn path=/trunk/; revision=34908 --- calendar/gui/print.c | 1 + 1 file changed, 1 insertion(+) (limited to 'calendar/gui') 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); -- cgit v1.2.3