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
This commit is contained in:
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
||||
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user