[evolution-ews] Add a clone of a timezone component instead of the component itself



commit ff3432485277bedf0cb5220218e92de717ebf66a
Author: Or Goshen <orx goshen intel com>
Date:   Mon Aug 15 15:25:10 2011 +0300

    Add a clone of a timezone component instead of the component itself

 src/calendar/e-cal-backend-ews.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/calendar/e-cal-backend-ews.c b/src/calendar/e-cal-backend-ews.c
index 500a5ef..171f528 100644
--- a/src/calendar/e-cal-backend-ews.c
+++ b/src/calendar/e-cal-backend-ews.c
@@ -1497,7 +1497,7 @@ static void tzid_cb(icalparameter *param, void *data)
 	if (!new_comp)
 		return;
 
-	icalcomponent_add_component(cbd->comp, new_comp);
+	icalcomponent_add_component(cbd->comp, icalcomponent_new_clone (new_comp));
 }
 
 static void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]