From 2e91dd59bf9615fd871eb237fc938158b37e0ac8 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Tue, 5 Sep 2000 20:10:52 +0000 Subject: Free the data, not the list element. 2000-09-05 JP Rosevear * cal-util/cal-component.c (cal_component_free_recur_list): Free the data, not the list element. svn path=/trunk/; revision=5203 --- calendar/ChangeLog | 5 +++++ calendar/cal-util/cal-component.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'calendar') diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 1254f8d3ea..9437353ddb 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,8 @@ +2000-09-05 JP Rosevear + + * cal-util/cal-component.c (cal_component_free_recur_list): Free + the data, not the list element. + 2000-09-05 JP Rosevear * cal-util/cal-recur.c (cal_recur_generate_instances): Compute diff --git a/calendar/cal-util/cal-component.c b/calendar/cal-util/cal-component.c index a3cb053be8..3c063cf990 100644 --- a/calendar/cal-util/cal-component.c +++ b/calendar/cal-util/cal-component.c @@ -3017,7 +3017,7 @@ cal_component_free_recur_list (GSList *recur_list) g_assert (l->data != NULL); r = l->data; - g_free (l); + g_free (r); } g_slist_free (recur_list); -- cgit