gimp r25317 - in trunk: . app/core



Author: neo
Date: Sun Mar 30 18:26:34 2008
New Revision: 25317
URL: http://svn.gnome.org/viewvc/gimp?rev=25317&view=rev

Log:
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.



Modified:
   trunk/ChangeLog
   trunk/app/core/gimparea.c

Modified: trunk/app/core/gimparea.c
==============================================================================
--- trunk/app/core/gimparea.c	(original)
+++ trunk/app/core/gimparea.c	Sun Mar 30 18:26:34 2008
@@ -104,5 +104,5 @@
   for (list = areas; list; list = list->next)
     gimp_area_free (list->data);
 
-  g_slist_free (list);
+  g_slist_free (areas);
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]