aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-week-view.c
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchenthill@novell.com>2008-02-25 19:00:13 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2008-02-25 19:00:13 +0800
commitf3c82ae09d287c2e581977da74d4927af5aab755 (patch)
treef39241fde810c78b3694d48b9cbf61572218b330 /calendar/gui/e-week-view.c
parent79a8efeece20b718bb0f276fcb5d6a59ac15bd01 (diff)
downloadgsoc2013-evolution-f3c82ae09d287c2e581977da74d4927af5aab755.tar.gz
gsoc2013-evolution-f3c82ae09d287c2e581977da74d4927af5aab755.tar.zst
gsoc2013-evolution-f3c82ae09d287c2e581977da74d4927af5aab755.zip
Fixes #516498
2008-02-25 Chenthill Palanisamy <pchenthill@novell.com> 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
Diffstat (limited to 'calendar/gui/e-week-view.c')
-rw-r--r--calendar/gui/e-week-view.c4
1 files changed, 3 insertions, 1 deletions
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