diff -r e33051e2790c -r 775b48f69568 libpurple/protocols/jabber/caps.c --- a/libpurple/protocols/jabber/caps.c Mon May 04 00:04:55 2009 +0000 +++ b/libpurple/protocols/jabber/caps.c Mon May 04 02:21:23 2009 +0000 @@ -132,7 +132,11 @@ } free_string_glist(info->features); - free_string_glist(info->forms); + + while (info->forms) { + xmlnode_free(info->forms->data); + info->forms = g_list_delete_link(info->forms, info->forms); + } jabber_caps_node_exts_unref(info->exts);