gimp r25318 - in branches/gimp-2-4: . app/core



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

Log:
2008-03-30  Sven Neumann  <sven gimp org>

	Merged from trunk:

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



Modified:
   branches/gimp-2-4/ChangeLog
   branches/gimp-2-4/app/core/gimparea.c

Modified: branches/gimp-2-4/app/core/gimparea.c
==============================================================================
--- branches/gimp-2-4/app/core/gimparea.c	(original)
+++ branches/gimp-2-4/app/core/gimparea.c	Sun Mar 30 18:28:00 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]