aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog8
-rw-r--r--calendar/importers/icalendar-importer.c6
2 files changed, 8 insertions, 6 deletions
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 <jpr@ximian.com>
+
+ 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 <NotZed@Ximian.com>
* 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);