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.
svn path=/trunk/; revision=10190
+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.
+
2009-03-05 Chenthill Palanisamy <pchenthill@novell.com>
Fixes #479908
break;
}
- g_object_unref (ecomp);
g_free (ostr);
g_free (oostr);
g_free (rid);
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);
}
}