aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-itip-control.c
diff options
context:
space:
mode:
authorSarfraaz Ahmed <asarfraaz@novell.com>2004-02-05 14:28:56 +0800
committerNicel KM <mnicel@src.gnome.org>2004-02-05 14:28:56 +0800
commitbb84f6e3e79b607b189dd4b114752013c42db1fa (patch)
tree38f0b5f16de468603a717fb4d24273bc421f9d23 /calendar/gui/e-itip-control.c
parentd639971d8a52635c6edf63d4f1851b5bc049f895 (diff)
downloadgsoc2013-evolution-bb84f6e3e79b607b189dd4b114752013c42db1fa.tar.gz
gsoc2013-evolution-bb84f6e3e79b607b189dd4b114752013c42db1fa.tar.zst
gsoc2013-evolution-bb84f6e3e79b607b189dd4b114752013c42db1fa.zip
Fixes #53388 added a check for NULL
2004-02-05 Sarfraaz Ahmed <asarfraaz@novell.com> Fixes #53388 * gui/e-itip-control.c (get_next): added a check for NULL svn path=/trunk/; revision=24627
Diffstat (limited to 'calendar/gui/e-itip-control.c')
-rw-r--r--calendar/gui/e-itip-control.c2
1 files changed, 2 insertions, 0 deletions
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