aboutsummaryrefslogtreecommitdiffstats
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
parent072795e5a3081544314466d51870c670a08c6198 (diff)
downloadgsoc2013-evolution-8b2d851699d93e90b9bf6462321e8f832a1a9128.tar
gsoc2013-evolution-8b2d851699d93e90b9bf6462321e8f832a1a9128.tar.gz
gsoc2013-evolution-8b2d851699d93e90b9bf6462321e8f832a1a9128.tar.bz2
gsoc2013-evolution-8b2d851699d93e90b9bf6462321e8f832a1a9128.tar.lz
gsoc2013-evolution-8b2d851699d93e90b9bf6462321e8f832a1a9128.tar.xz
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
-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);