Re: [evolution-patches] Re: Exchange connector: Fix for 72041
- From: Sarfraaz Ahmed <asarfraaz novell com>
- To: Sushma Rai <rsushma novell com>
- Cc: Evolution Patches List <evolution-patches lists ximian com>
- Subject: Re: [evolution-patches] Re: Exchange connector: Fix for 72041
- Date: Thu, 10 Mar 2005 14:27:40 +0530
Looks fine, commit with the changes mentioned below.
Thanks
-- Sarfraaz
On Thu, 2005-03-10 at 13:58 +0530, Sushma Rai wrote:
Attached the patch with these changes..
Please review.
Thanks,
Sushma.
text/plain attachment (task-crash-rev.diff)
|
Index: calendar/e-cal-backend-exchange-tasks.c
===================================================================
RCS file: /cvs/gnome/evolution-exchange/calendar/e-cal-backend-exchange-tasks.c,v
retrieving revision 1.13
+ /* Get the uid */
+ temp_comp_uid = icalcomponent_get_uid (icalcomp);
+ if (!temp_comp_uid)
free icalcomp here before returning.
+ return GNOME_Evolution_Calendar_InvalidObject;
+
Index: calendar/e-cal-backend-exchange-calendar.c
===================================================================
RCS file: /cvs/gnome/evolution-exchange/calendar/e-cal-backend-exchange-calendar.c,v
retrieving revision 1.36
- comp_uid = icalcomponent_get_uid (icalcomp);
+ temp_comp_uid = icalcomponent_get_uid (icalcomp);
Do the same check as in tasks and free the icalcomp if uid is 0
#if 0
if (lookup_component (E_CAL_BACKEND_EXCHANGE (cbexc), comp_uid))
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]