changeset 20863:27d2d6cc8d36

This should be less confusing and fix CID 293.
author Daniel Atallah <daniel.atallah@gmail.com>
date Wed, 10 Oct 2007 00:54:35 +0000
parents 9bdc5144bd96
children 8f0dceea2ca4
files libpurple/protocols/qq/buddy_info.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/qq/buddy_info.c	Wed Oct 10 00:44:34 2007 +0000
+++ b/libpurple/protocols/qq/buddy_info.c	Wed Oct 10 00:54:35 2007 +0000
@@ -366,7 +366,8 @@
 	groups = g_list_remove_link(groups, groups);
 	list = purple_request_field_group_get_fields(groups->data);
 	info->intro = parse_field(&list, FALSE);
-	groups = g_list_remove_link(groups, groups);
+
+	g_list_free(groups);
 
 	qq_send_packet_modify_info(gc, (gchar **) info);