--- a/libpurple/protocols/yahoo/yahoo_packet.c Sun Aug 02 05:04:41 2009 +0000 +++ b/libpurple/protocols/yahoo/yahoo_packet.c Sun Aug 02 05:34:11 2009 +0000 @@ -397,7 +397,7 @@ struct yahoo_pair *pair = pkt->hash->data; g_free(pair->value); g_free(pair); - pkt->hash = g_slist_remove(pkt->hash, pair); + pkt->hash = g_slist_delete_link(pkt->hash, pkt->hash); } g_free(pkt); }