diff pidgin/gtkconv.c @ 20944:91ce973a950b

Prevent the rest of the list being leaked.
author Daniel Atallah <daniel.atallah@gmail.com>
date Mon, 15 Oct 2007 02:12:29 +0000
parents ef44eb0859fe
children 3c4d37b98c31
line wrap: on
line diff
--- a/pidgin/gtkconv.c	Mon Oct 15 02:11:13 2007 +0000
+++ b/pidgin/gtkconv.c	Mon Oct 15 02:12:29 2007 +0000
@@ -3524,6 +3524,7 @@
 
 		if (b == item_buddy) {
 			gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(item), TRUE);
+			g_list_free(child);
 			break;
 		}
 	}