From f3c82ae09d287c2e581977da74d4927af5aab755 Mon Sep 17 00:00:00 2001 From: Chenthill Palanisamy Date: Mon, 25 Feb 2008 11:00:13 +0000 Subject: Fixes #516498 2008-02-25 Chenthill Palanisamy Fixes #516498 * gui/comp-util.c: (cal_comp_is_on_server): * gui/e-calendar-view.c: (e_calendar_view_cut_clipboard), (delete_event), (e_calendar_view_delete_selected_occurrence): * gui/e-day-view.c: (process_component): * gui/e-week-view.c: (process_component): Free memory returned by e_cal_component_get_recurid_as_string. svn path=/trunk/; revision=35086 --- calendar/gui/e-week-view.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'calendar/gui/e-week-view.c') diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c index 07d5b7b8eb..53c2cd63ab 100644 --- a/calendar/gui/e-week-view.c +++ b/calendar/gui/e-week-view.c @@ -303,7 +303,8 @@ process_component (EWeekView *week_view, ECalModelComponent *comp_data) ECalComponent *comp = NULL; AddEventData add_event_data; /* rid is never used in this function? */ - const char *uid, *rid; + const char *uid; + char *rid = NULL; /* If we don't have a valid date set yet, just return. */ if (!g_date_valid (&week_view->first_day_shown)) @@ -329,6 +330,7 @@ process_component (EWeekView *week_view, ECalModelComponent *comp_data) e_week_view_add_event (comp, comp_data->instance_start, comp_data->instance_end, FALSE, &add_event_data); g_object_unref (comp); + g_free (rid); } static void -- cgit