diff options
author | Federico Mena Quintero <federico@helixcode.com> | 2000-12-09 04:55:10 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2000-12-09 04:55:10 +0800 |
commit | 3df2257e016793b56ab81107ef61beecf2ced330 (patch) | |
tree | 8fb52cf6b37b3537b7798bdf23810d474e3842cf | |
parent | 74d651e09e4af21f3744b2c271fbc5c6332cc5b9 (diff) | |
download | gsoc2013-evolution-3df2257e016793b56ab81107ef61beecf2ced330.tar.gz gsoc2013-evolution-3df2257e016793b56ab81107ef61beecf2ced330.tar.zst gsoc2013-evolution-3df2257e016793b56ab81107ef61beecf2ced330.zip |
Free the dates we get from the component.
2000-12-08 Federico Mena Quintero <federico@helixcode.com>
* gui/event-editor.c (fill_widgets): Free the dates we get from
the component.
svn path=/trunk/; revision=6867
-rw-r--r-- | calendar/ChangeLog | 5 | ||||
-rw-r--r-- | calendar/gui/event-editor.c | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 95a2e21df9..4b15fd8c73 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,8 @@ +2000-12-08 Federico Mena Quintero <federico@helixcode.com> + + * gui/event-editor.c (fill_widgets): Free the dates we get from + the component. + 2000-12-08 JP Rosevear <jpr@helixcode.com> * gui/e-calendar-table.c (e_calendar_table_init): Attach signal diff --git a/calendar/gui/event-editor.c b/calendar/gui/event-editor.c index 97daa77fce..0d98d75d24 100644 --- a/calendar/gui/event-editor.c +++ b/calendar/gui/event-editor.c @@ -1807,8 +1807,11 @@ fill_widgets (EventEditor *ee) so we have to subtract a day so we only show the 2nd. */ cal_component_get_dtstart (priv->comp, &d); dtstart = icaltime_as_timet (*d.value); + cal_component_free_datetime (&d); + cal_component_get_dtend (priv->comp, &d); dtend = icaltime_as_timet (*d.value); + cal_component_free_datetime (&d); if (time_day_begin (dtstart) == dtstart && time_day_begin (dtend) == dtend) { |