aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/gnome-cal.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/gnome-cal.c')
-rw-r--r--calendar/gui/gnome-cal.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c
index c515dc36e9..c36b740d81 100644
--- a/calendar/gui/gnome-cal.c
+++ b/calendar/gui/gnome-cal.c
@@ -3267,6 +3267,9 @@ gnome_calendar_purge (GnomeCalendar *gcal, time_t older_than)
if (remove)
e_cal_remove_object (client, icalcomponent_get_uid (m->data), NULL);
}
+
+ g_list_foreach (objects, (GFunc) icalcomponent_free, NULL);
+ g_list_free (objects);
}
e_calendar_view_set_status_message (E_CALENDAR_VIEW (priv->week_view), NULL);