evolution-data-server r10190 - in trunk/calendar: . backends/caldav
- From: mcrha svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution-data-server r10190 - in trunk/calendar: . backends/caldav
- Date: Mon, 23 Mar 2009 17:57:40 +0000 (UTC)
Author: mcrha
Date: Mon Mar 23 17:57:40 2009
New Revision: 10190
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=10190&view=rev
Log:
2009-03-23 Milan Crha <mcrha redhat com>
** Fix for bug #576424
* backends/caldav/e-cal-backend-caldav.c: (process_object),
(caldav_receive_objects): Do not unref object twice and
treat icalcomponent as it, not as icaltimezone.
Modified:
trunk/calendar/ChangeLog
trunk/calendar/backends/caldav/e-cal-backend-caldav.c
Modified: trunk/calendar/backends/caldav/e-cal-backend-caldav.c
==============================================================================
--- trunk/calendar/backends/caldav/e-cal-backend-caldav.c (original)
+++ trunk/calendar/backends/caldav/e-cal-backend-caldav.c Mon Mar 23 17:57:40 2009
@@ -2471,7 +2471,6 @@
break;
}
- g_object_unref (ecomp);
g_free (ostr);
g_free (oostr);
g_free (rid);
@@ -2522,9 +2521,13 @@
if (status == GNOME_Evolution_Calendar_Success) {
for (iter = timezones; iter; iter = iter->next) {
- icaltimezone *zone = iter->data;
+ icaltimezone *zone = icaltimezone_new ();
+
+ if (icaltimezone_set_component (zone, iter->data))
+ e_cal_backend_cache_put_timezone (priv->cache, zone);
+ else
+ icalcomponent_free (iter->data);
- e_cal_backend_cache_put_timezone (priv->cache, zone);
icaltimezone_free (zone, TRUE);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]