changeset 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 e0d7429cfd8a
children 4cd97da26150
files pidgin/gtkconv.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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;
 		}
 	}