evolution r35376 - in trunk/calendar: . gui



Author: mcrha
Date: Thu Apr 17 11:03:00 2008
New Revision: 35376
URL: http://svn.gnome.org/viewvc/evolution?rev=35376&view=rev

Log:
2008-04-17  Milan Crha  <mcrha redhat com>

	** Fix for bug #523402

	* gui/e-calendar-view.c: (e_calendar_view_add_event):
	Do not free value returned by icaltimezone_get_tzid.



Modified:
   trunk/calendar/ChangeLog
   trunk/calendar/gui/e-calendar-view.c

Modified: trunk/calendar/gui/e-calendar-view.c
==============================================================================
--- trunk/calendar/gui/e-calendar-view.c	(original)
+++ trunk/calendar/gui/e-calendar-view.c	Thu Apr 17 11:03:00 2008
@@ -366,11 +366,13 @@
 	e_cal_component_get_dtstart (comp, &dt);
 	dt.tzid = icaltimezone_get_tzid (default_zone);
 	e_cal_component_set_dtstart (comp, &dt);
+	dt.tzid = NULL;
 	e_cal_component_free_datetime (&dt);
 
 	e_cal_component_get_dtend (comp, &dt);
 	dt.tzid = icaltimezone_get_tzid (default_zone);
 	e_cal_component_set_dtend (comp, &dt);
+	dt.tzid = NULL;
 	e_cal_component_free_datetime (&dt);
 
 	e_cal_component_commit_sequence (comp);



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