aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/cal-util/cal-component.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 1254f8d3ea..9437353ddb 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,5 +1,10 @@
2000-09-05 JP Rosevear <jpr@helixcode.com>
+ * cal-util/cal-component.c (cal_component_free_recur_list): Free
+ the data, not the list element.
+
+2000-09-05 JP Rosevear <jpr@helixcode.com>
+
* cal-util/cal-recur.c (cal_recur_generate_instances): Compute
the event duration using the event start/end times, not the
interval times.
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);