mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-21 03:52:33 +00:00
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:
parent
b131f8011c
commit
cc594327cf
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue