aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog7
-rw-r--r--calendar/gui/e-itip-control.c2
2 files changed, 9 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index e65c820df4..a79f807539 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,10 @@
+2004-02-05 Sarfraaz Ahmed <asarfraaz@novell.com>
+
+ Fixes #53388
+
+ * gui/e-itip-control.c (get_next): added a check for NULL
+
+
2004-02-04 JP Rosevear <jpr@ximian.com>
* importers/icalendar-importer.c (gnome_calendar_import_data_fn):
diff --git a/calendar/gui/e-itip-control.c b/calendar/gui/e-itip-control.c
index c3a718e834..0f5e7f29d8 100644
--- a/calendar/gui/e-itip-control.c
+++ b/calendar/gui/e-itip-control.c
@@ -1364,6 +1364,8 @@ get_next (icalcompiter *iter)
do {
icalcompiter_next (iter);
ret = icalcompiter_deref (iter);
+ if (ret == NULL)
+ break;
kind = icalcomponent_isa (ret);
} while (ret != NULL
&& kind != ICAL_VEVENT_COMPONENT