aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2004-04-14 23:56:48 +0800
committerJP Rosevear <jpr@src.gnome.org>2004-04-14 23:56:48 +0800
commitc638a551a2eaef108361cf867472ec4d0c733335 (patch)
tree88de44e20a2d79a90ff7fadf7c335eba577da7d0 /calendar
parenta133c16ccf9334dc665a82d6ddc37a26c2d3a23d (diff)
downloadgsoc2013-evolution-c638a551a2eaef108361cf867472ec4d0c733335.tar
gsoc2013-evolution-c638a551a2eaef108361cf867472ec4d0c733335.tar.gz
gsoc2013-evolution-c638a551a2eaef108361cf867472ec4d0c733335.tar.bz2
gsoc2013-evolution-c638a551a2eaef108361cf867472ec4d0c733335.tar.lz
gsoc2013-evolution-c638a551a2eaef108361cf867472ec4d0c733335.tar.xz
gsoc2013-evolution-c638a551a2eaef108361cf867472ec4d0c733335.tar.zst
gsoc2013-evolution-c638a551a2eaef108361cf867472ec4d0c733335.zip
Fixes #56553
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 svn path=/trunk/; revision=25462
Diffstat (limited to 'calendar')
-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);