# HG changeset patch # User Paul Aurich # Date 1241403683 0 # Node ID bcc577785c2b2f2d7f6622ad6e7fde33deb26f98 # Parent 985e7f8d874434ec2d996262e7cd4c03b7481202 Free the forms properly; they're xmlnodes, not strings. diff -r 985e7f8d8744 -r bcc577785c2b 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);