From 3df2257e016793b56ab81107ef61beecf2ced330 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Fri, 8 Dec 2000 20:55:10 +0000 Subject: Free the dates we get from the component. 2000-12-08 Federico Mena Quintero * gui/event-editor.c (fill_widgets): Free the dates we get from the component. svn path=/trunk/; revision=6867 --- calendar/gui/event-editor.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'calendar/gui') 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) { -- cgit v1.2.3