gnome-desktop r5088 - trunk/libgnome-desktop



Author: vuntz
Date: Sat May 17 15:18:25 2008
New Revision: 5088
URL: http://svn.gnome.org/viewvc/gnome-desktop?rev=5088&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:
   trunk/libgnome-desktop/ChangeLog
   trunk/libgnome-desktop/gnome-bg.c

Modified: trunk/libgnome-desktop/gnome-bg.c
==============================================================================
--- trunk/libgnome-desktop/gnome-bg.c	(original)
+++ trunk/libgnome-desktop/gnome-bg.c	Sat May 17 15:18:25 2008
@@ -2153,7 +2153,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]