# HG changeset patch # User andrew.victor@mxit.com # Date 1326108721 0 # Node ID 4db23cc97da48835964de9947c5257efaa1b9f97 # Parent 307d487f21ee5577b344afa264cc447bde9e26a6# Parent 49fc653d72c6cddae2cb14ef01d34b7975ddf696 merge of '13d6e924c9257b20e21050646cab88043bdb2e15' and 'a07b7bfd5f979c74126ebea4f86249f24ff00dfd' diff -r 307d487f21ee -r 4db23cc97da4 libpurple/protocols/jabber/caps.c --- a/libpurple/protocols/jabber/caps.c Mon Jan 09 10:58:37 2012 +0000 +++ b/libpurple/protocols/jabber/caps.c Mon Jan 09 11:32:01 2012 +0000 @@ -888,7 +888,8 @@ field->values); } } else { - g_list_free_full(field->values, g_free); + g_list_foreach(field->values, (GFunc) g_free, NULL); + g_list_free(field->values); } g_free(field->var);