aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-day-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-day-view.c
parent79a8efeece20b718bb0f276fcb5d6a59ac15bd01 (diff)
downloadgsoc2013-evolution-f3c82ae09d287c2e581977da74d4927af5aab755.tar
gsoc2013-evolution-f3c82ae09d287c2e581977da74d4927af5aab755.tar.gz
gsoc2013-evolution-f3c82ae09d287c2e581977da74d4927af5aab755.tar.bz2
gsoc2013-evolution-f3c82ae09d287c2e581977da74d4927af5aab755.tar.lz
gsoc2013-evolution-f3c82ae09d287c2e581977da74d4927af5aab755.tar.xz
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-day-view.c')
-rw-r--r--calendar/gui/e-day-view.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c
index f6a71f31df..93b61a4ce2 100644
--- a/calendar/gui/e-day-view.c
+++ b/calendar/gui/e-day-view.c
@@ -517,7 +517,8 @@ time_range_changed_cb (ECalModel *model, time_t start_time, time_t end_time, gpo
static void
process_component (EDayView *day_view, ECalModelComponent *comp_data)
{
- const char *uid, *rid;
+ const char *uid;
+ char *rid = NULL;
ECalComponent *comp;
AddEventData add_event_data;
@@ -546,6 +547,7 @@ process_component (EDayView *day_view, ECalModelComponent *comp_data)
e_day_view_add_event (comp, comp_data->instance_start, comp_data->instance_end, &add_event_data);
g_object_unref (comp);
+ g_free (rid);
}
static void