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:
JP Rosevear
2000-09-05 20:10:52 +00:00
committed by JP Rosevear
parent b1e66c4c60
commit 2e91dd59bf
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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);