don't leak the memory allocated for the GSList.

2008-03-30  Sven Neumann  <sven@gimp.org>

	* app/core/gimparea.c (gimp_area_list_free): don't leak the 
memory
	allocated for the GSList.


svn path=/trunk/; revision=25317
This commit is contained in:
Sven Neumann 2008-03-30 17:26:34 +00:00 committed by Sven Neumann
parent b131f8011c
commit cc594327cf
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2008-03-30 Sven Neumann <sven@gimp.org>
* app/core/gimparea.c (gimp_area_list_free): don't leak the memory
allocated for the GSList.
2008-03-30 Sven Neumann <sven@gimp.org>
* app/widgets/gimpcontainertreeview.c: added a finalizer that frees

View file

@ -104,5 +104,5 @@ gimp_area_list_free (GSList *areas)
for (list = areas; list; list = list->next)
gimp_area_free (list->data);
g_slist_free (list);
g_slist_free (areas);
}