gimp r25315 - in branches/gimp-2-4: . app/xcf



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

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

	Merged from trunk:

	* app/xcf/xcf-load.c (xcf_load_image): don't leak the grid.



Modified:
   branches/gimp-2-4/ChangeLog
   branches/gimp-2-4/app/xcf/xcf-load.c

Modified: branches/gimp-2-4/app/xcf/xcf-load.c
==============================================================================
--- branches/gimp-2-4/app/xcf/xcf-load.c	(original)
+++ branches/gimp-2-4/app/xcf/xcf-load.c	Sun Mar 30 18:03:50 2008
@@ -162,6 +162,8 @@
                                      gimp_parasite_name (parasite));
 
           gimp_image_set_grid (GIMP_IMAGE (image), grid, FALSE);
+          g_object_unref (grid);
+
         }
     }
 



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