diff options
author | Milan Crha <mcrha@redhat.com> | 2008-04-17 18:03:00 +0800 |
---|---|---|
committer | Milan Crha <mcrha@src.gnome.org> | 2008-04-17 18:03:00 +0800 |
commit | b24bdfcc8d3e43499f1e81351f69ac667cedd08a (patch) | |
tree | e5054640133d02ad0a6d13d32f8950596d7fcbcc /calendar | |
parent | 1314ec2abd937d9658eba075253e94e93fb5ca9e (diff) | |
download | gsoc2013-evolution-b24bdfcc8d3e43499f1e81351f69ac667cedd08a.tar.gz gsoc2013-evolution-b24bdfcc8d3e43499f1e81351f69ac667cedd08a.tar.zst gsoc2013-evolution-b24bdfcc8d3e43499f1e81351f69ac667cedd08a.zip |
** Fix for bug #523402
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.
svn path=/trunk/; revision=35376
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 7 | ||||
-rw-r--r-- | calendar/gui/e-calendar-view.c | 2 |
2 files changed, 9 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 84281b397e..59bfb8a5df 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,10 @@ +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. + 2008-04-16 Milan Crha <mcrha@redhat.com> ** Fix for bug #232594 diff --git a/calendar/gui/e-calendar-view.c b/calendar/gui/e-calendar-view.c index 3e05333ee5..5bb0b1a63a 100644 --- a/calendar/gui/e-calendar-view.c +++ b/calendar/gui/e-calendar-view.c @@ -366,11 +366,13 @@ e_calendar_view_add_event (ECalendarView *cal_view, ECal *client, time_t dtstart 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); |