aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorSuman Manjunath <msuman@src.gnome.org>2008-01-28 13:24:56 +0800
committerSuman Manjunath <msuman@src.gnome.org>2008-01-28 13:24:56 +0800
commit8b2d851699d93e90b9bf6462321e8f832a1a9128 (patch)
treed4f577a7ef5c3708d2b6e5ee9bf8a36ddc61cb48 /calendar/gui
parent072795e5a3081544314466d51870c670a08c6198 (diff)
downloadgsoc2013-evolution-8b2d851699d93e90b9bf6462321e8f832a1a9128.tar.gz
gsoc2013-evolution-8b2d851699d93e90b9bf6462321e8f832a1a9128.tar.zst
gsoc2013-evolution-8b2d851699d93e90b9bf6462321e8f832a1a9128.zip
Patch from Chenthill Palanisamy <pchenthill@novell.com> (Fix memory leak while printing month-view)
svn path=/trunk/; revision=34908
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/print.c1
1 files changed, 1 insertions, 0 deletions
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);