changeset 1326:41b498d5ae4b trunk

[svn] - avoid a memory leak with images
author nenolod
date Sat, 24 Jun 2006 02:43:36 -0700
parents 4f7d6645972c
children 5bd743a3417b
files ChangeLog audacious/ui_fileinfo.c
diffstat 2 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Jun 23 13:34:05 2006 -0700
+++ b/ChangeLog	Sat Jun 24 02:43:36 2006 -0700
@@ -1,3 +1,11 @@
+2006-06-23 20:34:05 +0000  Tony Vroon <chainsaw@gentoo.org>
+  revision [1562]
+  Have period time default to 100ms to keep snd-aoa on PPC from going all clickety-click on us.
+
+  Changes:        Modified:
+  +1 -1           trunk/Plugins/Output/alsa/init.c  
+
+
 2006-06-22 14:04:25 +0000  Yoshiki Yazawa <yaz@cc.rim.or.jp>
   revision [1560]
   try to avoid malconversion of latin1 character when chardet has been enabled.
--- a/audacious/ui_fileinfo.c	Fri Jun 23 13:34:05 2006 -0700
+++ b/audacious/ui_fileinfo.c	Sat Jun 24 02:43:36 2006 -0700
@@ -116,6 +116,7 @@
 	}
 
 	gtk_image_set_from_pixbuf(GTK_IMAGE(widget), GDK_PIXBUF(pixbuf));
+	g_object_unref(G_OBJECT(pixbuf));
 }
 
 static void
@@ -153,6 +154,7 @@
 	}
 
 	gtk_image_set_from_pixbuf(GTK_IMAGE(widget), GDK_PIXBUF(pixbuf));
+	g_object_unref(G_OBJECT(pixbuf));
 }
 
 static void