changeset 15749:74923b83e042

Fix a small leak
author Sean Egan <seanegan@gmail.com>
date Thu, 01 Mar 2007 21:48:46 +0000
parents e3c216de22c5
children f403bc58ba07
files pidgin/gtkconv.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkconv.c	Thu Mar 01 21:46:50 2007 +0000
+++ b/pidgin/gtkconv.c	Thu Mar 01 21:48:46 2007 +0000
@@ -5879,8 +5879,10 @@
 			l = pidgin_conv_get_tab_icons(conv);
 		}
 		gtk_window_set_icon_list(GTK_WINDOW(win->window), l);
-		if (window_icon != NULL)
+		if (window_icon != NULL) {
 			g_object_unref(G_OBJECT(window_icon));
+			g_list_free(l);
+		}
 	}
 }