diff options
author | Milan Crha <mcrha@redhat.com> | 2008-01-25 22:10:07 +0800 |
---|---|---|
committer | Milan Crha <mcrha@src.gnome.org> | 2008-01-25 22:10:07 +0800 |
commit | 34da45d5d6f03a24f32edf8a41a783ad489f9296 (patch) | |
tree | e8c479e2cd57bc82eae49205ef9accb0d953a479 /calendar/gui/dialogs | |
parent | c4046c56365033ebc17c21f4bda6411ffe5bf1fc (diff) | |
download | gsoc2013-evolution-34da45d5d6f03a24f32edf8a41a783ad489f9296.tar gsoc2013-evolution-34da45d5d6f03a24f32edf8a41a783ad489f9296.tar.gz gsoc2013-evolution-34da45d5d6f03a24f32edf8a41a783ad489f9296.tar.bz2 gsoc2013-evolution-34da45d5d6f03a24f32edf8a41a783ad489f9296.tar.lz gsoc2013-evolution-34da45d5d6f03a24f32edf8a41a783ad489f9296.tar.xz gsoc2013-evolution-34da45d5d6f03a24f32edf8a41a783ad489f9296.tar.zst gsoc2013-evolution-34da45d5d6f03a24f32edf8a41a783ad489f9296.zip |
** Fix for bug #475781
2008-01-25 Milan Crha <mcrha@redhat.com>
** Fix for bug #475781
* plugins/save-calendar/csv-format.c: (do_save_calendar_csv):
* plugins/save-calendar/rdf-format.c: (do_save_calendar_rdf):
* plugins/itip-formatter/itip-formatter.c: (format_itip_object):
* calendar/gui/dialogs/recurrence-page.c: (fill_ending_date),
(recurrence_page_fill_widgets):
* calendar/gui/dialogs/memo-page.c: (memo_page_fill_widgets):
* calendar/gui/e-day-view.c: 2*(e_day_view_finish_long_event_resize),
2*(e_day_view_on_editing_stopped):
* calendar/gui/itip-utils.c: (comp_compliant), (reply_to_calendar_comp):
* calendar/gui/e-week-view.c: (e_week_view_on_editing_stopped):
* calendar/gui/e-calendar-view.c: (e_calendar_view_add_event),
(e_calendar_view_get_tooltips):
* calendar/gui/e-cal-component-preview.c: (write_html):
* calendar/gui/e-cal-component-memo-preview.c: (write_html):
* calendar/gui/e-cal-model.c: (add_instance_cb):
Fix memory leaks around ECalComponentDateTime.
svn path=/trunk/; revision=34895
Diffstat (limited to 'calendar/gui/dialogs')
-rw-r--r-- | calendar/gui/dialogs/memo-page.c | 1 | ||||
-rw-r--r-- | calendar/gui/dialogs/recurrence-page.c | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/calendar/gui/dialogs/memo-page.c b/calendar/gui/dialogs/memo-page.c index 038346c898..cbb4d2b0cd 100644 --- a/calendar/gui/dialogs/memo-page.c +++ b/calendar/gui/dialogs/memo-page.c @@ -413,6 +413,7 @@ memo_page_fill_widgets (CompEditorPage *page, ECalComponent *comp) start_tt->day); } else if (!(page->flags & COMP_EDITOR_PAGE_NEW_ITEM)) e_date_edit_set_time (E_DATE_EDIT (priv->start_date), -1); + e_cal_component_free_datetime (&d); /* Classification. */ e_cal_component_get_classification (comp, &cl); diff --git a/calendar/gui/dialogs/recurrence-page.c b/calendar/gui/dialogs/recurrence-page.c index 485ac95ec0..34e748a7d7 100644 --- a/calendar/gui/dialogs/recurrence-page.c +++ b/calendar/gui/dialogs/recurrence-page.c @@ -1528,6 +1528,8 @@ fill_ending_date (RecurrencePage *rpage, struct icalrecurrencetype *r) r->until.second = 0; r->until.is_date = TRUE; r->until.is_utc = FALSE; + + e_cal_component_free_datetime (&dt); } priv->ending_date_tt = r->until; @@ -1774,6 +1776,7 @@ recurrence_page_fill_widgets (CompEditorPage *page, ECalComponent *comp) e_cal_component_get_dtstart (comp, &dt); priv->month_index = dt.value->day; priv->month_num = MONTH_NUM_LAST; + e_cal_component_free_datetime (&dt); } else { priv->month_index = nth; priv->month_num = MONTH_NUM_DAY; |