diff src/gtkaccount.c @ 9337:d0380151c6d1

[gaim-migrate @ 10145] Chip tells me we need to be unrefing the GdkPixbufLoader object. Now everything make sense. This should fix the massive leaks you've been seeing. committer: Tailor Script <tailor@pidgin.im>
author Tim Ringenbach <marv@pidgin.im>
date Tue, 22 Jun 2004 00:31:30 +0000
parents b2f102b8abf1
children b917acdc982f
line wrap: on
line diff
--- a/src/gtkaccount.c	Tue Jun 22 00:29:23 2004 +0000
+++ b/src/gtkaccount.c	Tue Jun 22 00:31:30 2004 +0000
@@ -479,7 +479,7 @@
 	height = gdk_pixbuf_get_height(pixbuf);
 	format = gdk_pixbuf_loader_get_format(loader);
 	gdk_pixbuf_loader_close(loader, NULL);
-	g_object_unref(G_OBJECT(pixbuf));
+	g_object_unref(G_OBJECT(loader));
 #endif
 	pixbuf_formats =  gdk_pixbuf_format_get_extensions(format);