diff options
author | JP Rosevear <jpr@helixcode.com> | 2000-09-06 04:10:52 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2000-09-06 04:10:52 +0800 |
commit | 2e91dd59bf9615fd871eb237fc938158b37e0ac8 (patch) | |
tree | 98418f58e7d6139f85df8ca4b2edf0ec6f20d413 | |
parent | b1e66c4c60ca6d52c0a164a510e5199ca201bf98 (diff) | |
download | gsoc2013-evolution-2e91dd59bf9615fd871eb237fc938158b37e0ac8.tar.gz gsoc2013-evolution-2e91dd59bf9615fd871eb237fc938158b37e0ac8.tar.zst gsoc2013-evolution-2e91dd59bf9615fd871eb237fc938158b37e0ac8.zip |
Free the data, not the list element.
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.
svn path=/trunk/; revision=5203
-rw-r--r-- | calendar/ChangeLog | 5 | ||||
-rw-r--r-- | calendar/cal-util/cal-component.c | 2 |
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); |