libgnomeui r5612 - in trunk: . file-chooser



Author: friemann
Date: Tue Jun  3 19:02:10 2008
New Revision: 5612
URL: http://svn.gnome.org/viewvc/libgnomeui?rev=5612&view=rev

Log:
2008-06-03  Felix Riemann  <friemann svn gnome org>

	* file-chooser/gtkfilesystemgio.c:
	(gtk_file_system_gio_volume_get_icon_name):
	Stop leaking GIcons. Fixes bug #536393.


Modified:
   trunk/ChangeLog
   trunk/file-chooser/gtkfilesystemgio.c

Modified: trunk/file-chooser/gtkfilesystemgio.c
==============================================================================
--- trunk/file-chooser/gtkfilesystemgio.c	(original)
+++ trunk/file-chooser/gtkfilesystemgio.c	Tue Jun  3 19:02:10 2008
@@ -1355,6 +1355,7 @@
     }
 
   name = get_icon_string (icon);
+  g_object_unref (icon);
 
   return name;
 }



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