gnome-desktop r5089 - branches/gnome-2-22/libgnome-desktop



Author: vuntz
Date: Sat May 17 15:19:34 2008
New Revision: 5089
URL: http://svn.gnome.org/viewvc/gnome-desktop?rev=5089&view=rev

Log:
2008-05-17  Vincent Untz  <vuntz gnome org>

	* gnome-bg.c: (create_thumbnail_for_uri): fix leak.
	Patch by Kjartan Maraas <kmaraas gnome org>. Fix bug #532152.


Modified:
   branches/gnome-2-22/libgnome-desktop/ChangeLog
   branches/gnome-2-22/libgnome-desktop/gnome-bg.c

Modified: branches/gnome-2-22/libgnome-desktop/gnome-bg.c
==============================================================================
--- branches/gnome-2-22/libgnome-desktop/gnome-bg.c	(original)
+++ branches/gnome-2-22/libgnome-desktop/gnome-bg.c	Sat May 17 15:19:34 2008
@@ -1814,7 +1814,8 @@
 	
 	if (filename) {
 		pixbuf = gdk_pixbuf_new_from_file (filename, NULL);
-		
+		g_free (filename);		
+
 		return pixbuf;
 	}
 	



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