[evolution-ews] Bug 634294 - Calendar factory crash under e-cal-recur
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-ews] Bug 634294 - Calendar factory crash under e-cal-recur
- Date: Fri, 17 Jun 2016 12:05:10 +0000 (UTC)
commit 2c2a2319105076bda4386d3aa62df80811338753
Author: Milan Crha <mcrha redhat com>
Date: Fri Jun 17 14:05:37 2016 +0200
Bug 634294 - Calendar factory crash under e-cal-recur
src/calendar/e-cal-backend-ews.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/src/calendar/e-cal-backend-ews.c b/src/calendar/e-cal-backend-ews.c
index dbf1d0f..c150d41 100644
--- a/src/calendar/e-cal-backend-ews.c
+++ b/src/calendar/e-cal-backend-ews.c
@@ -3261,10 +3261,6 @@ add_item_to_cache (ECalBackendEws *cbews,
if (start_zone != NULL) {
icalcomp = icalcomponent_get_first_component (vcomp, kind);
- icalcomponent_add_component (
- vcomp,
- icalcomponent_new_clone (icaltimezone_get_component (start_zone)));
-
dt = icalcomponent_get_dtstart (icalcomp);
dt = icaltime_convert_to_zone (dt, start_zone);
icalcomponent_set_dtstart (icalcomp, dt);
@@ -3307,8 +3303,6 @@ add_item_to_cache (ECalBackendEws *cbews,
if (zone != NULL) {
icalcomp = icalcomponent_get_first_component (vcomp, kind);
- icalcomponent_add_component (vcomp, icalcomponent_new_clone
(icaltimezone_get_component (zone)));
-
dt = icalcomponent_get_dtstart (icalcomp);
dt = icaltime_convert_to_zone (dt, zone);
icalcomponent_set_dtstart (icalcomp, dt);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]