changeset 8346:0d980682678f

[gaim-migrate @ 9070] no more leaky leaky committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Thu, 26 Feb 2004 17:29:14 +0000
parents 7787485141ca
children 5d039bc19350
files src/stock.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/stock.c	Thu Feb 26 17:28:48 2004 +0000
+++ b/src/stock.c	Thu Feb 26 17:29:14 2004 +0000
@@ -161,6 +161,8 @@
 			g_free(filename);
 
 			iconset = gtk_icon_set_new_from_pixbuf(pixbuf);
+
+			g_object_unref(G_OBJECT(pixbuf));
 		}
 
 		gtk_icon_factory_add(icon_factory, stock_icons[i].name, iconset);