aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-tasks.c
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@novell.com>2005-04-05 03:48:18 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2005-04-05 03:48:18 +0800
commit2bfb0aacbd3290d801257ad8a8a850e5dbe26b67 (patch)
tree7f9b9b791b2ba307a0bf06eb94c42affa552e4f6 /calendar/gui/e-tasks.c
parent01e949631917f56eab0e44acae992df7feea3c86 (diff)
downloadgsoc2013-evolution-2bfb0aacbd3290d801257ad8a8a850e5dbe26b67.tar
gsoc2013-evolution-2bfb0aacbd3290d801257ad8a8a850e5dbe26b67.tar.gz
gsoc2013-evolution-2bfb0aacbd3290d801257ad8a8a850e5dbe26b67.tar.bz2
gsoc2013-evolution-2bfb0aacbd3290d801257ad8a8a850e5dbe26b67.tar.lz
gsoc2013-evolution-2bfb0aacbd3290d801257ad8a8a850e5dbe26b67.tar.xz
gsoc2013-evolution-2bfb0aacbd3290d801257ad8a8a850e5dbe26b67.tar.zst
gsoc2013-evolution-2bfb0aacbd3290d801257ad8a8a850e5dbe26b67.zip
Fixes #68423
2005-04-04 Rodrigo Moya <rodrigo@novell.com> Fixes #68423 * gui/migration.c (migrate_ical): * gui/e-tasks,c (e_tasks_expunge): * gui/gnome-cal.c (gnome_calendar_purge): fixed huge (in some cases) memory leaks. svn path=/trunk/; revision=29151
Diffstat (limited to 'calendar/gui/e-tasks.c')
-rw-r--r--calendar/gui/e-tasks.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/calendar/gui/e-tasks.c b/calendar/gui/e-tasks.c
index 78ce565da1..1d1c405c0d 100644
--- a/calendar/gui/e-tasks.c
+++ b/calendar/gui/e-tasks.c
@@ -1159,6 +1159,9 @@ e_tasks_delete_completed (ETasks *tasks)
/* FIXME Better error handling */
e_cal_remove_object (client, icalcomponent_get_uid (m->data), NULL);
}
+
+ g_list_foreach (objects, (GFunc) icalcomponent_free, NULL);
+ g_list_free (objects);
}
set_status_message (tasks, NULL);