gnome-desktop r5088 - trunk/libgnome-desktop
- From: vuntz svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-desktop r5088 - trunk/libgnome-desktop
- Date: Sat, 17 May 2008 16:18:26 +0100 (BST)
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]