From bb84f6e3e79b607b189dd4b114752013c42db1fa Mon Sep 17 00:00:00 2001 From: Sarfraaz Ahmed Date: Thu, 5 Feb 2004 06:28:56 +0000 Subject: Fixes #53388 added a check for NULL 2004-02-05 Sarfraaz Ahmed Fixes #53388 * gui/e-itip-control.c (get_next): added a check for NULL svn path=/trunk/; revision=24627 --- calendar/gui/e-itip-control.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'calendar/gui') 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 -- cgit