From c638a551a2eaef108361cf867472ec4d0c733335 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Wed, 14 Apr 2004 15:56:48 +0000 Subject: Fixes #56553 2004-04-14 JP Rosevear Fixes #56553 * importers/icalendar-importer.c (prepare_events): don't double free or continue, we need to move to the next item (prepare_tasks): don't continue, move to the next item svn path=/trunk/; revision=25462 --- calendar/ChangeLog | 8 ++++++++ calendar/importers/icalendar-importer.c | 6 ------ 2 files changed, 8 insertions(+), 6 deletions(-) (limited to 'calendar') diff --git a/calendar/ChangeLog b/calendar/ChangeLog index dd1d05d9df..fc1ef61fec 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,11 @@ +2004-04-14 JP Rosevear + + Fixes #56553 + + * importers/icalendar-importer.c (prepare_events): don't double + free or continue, we need to move to the next item + (prepare_tasks): don't continue, move to the next item + 2004-04-14 Not Zed * gui/tasks-component.c (impl_createControls): Same as below for diff --git a/calendar/importers/icalendar-importer.c b/calendar/importers/icalendar-importer.c index 04feafab59..954253be53 100644 --- a/calendar/importers/icalendar-importer.c +++ b/calendar/importers/icalendar-importer.c @@ -126,10 +126,6 @@ prepare_events (icalcomponent *icalcomp, GList **vtodos) *vtodos = g_list_prepend (*vtodos, subcomp); else icalcomponent_free (subcomp); - - icalcomponent_free (subcomp); - - continue; } icalcompiter_next (&iter); @@ -155,8 +151,6 @@ prepare_tasks (icalcomponent *icalcomp, GList *vtodos) icalcompiter_next (&iter); icalcomponent_remove_component (icalcomp, subcomp); icalcomponent_free (subcomp); - - continue; } icalcompiter_next (&iter); -- cgit