# HG changeset patch # User Paul Aurich # Date 1256528845 0 # Node ID edf17df87055582615c155745b38d4a80eaa781b # Parent c3be1de8abde5e81aa6db3321763ec65c92d5390 jabber: Plug another leak. jabber_cals_calculate_hash sorts the features, so use the proper head of list. diff -r c3be1de8abde -r edf17df87055 libpurple/protocols/jabber/caps.c --- a/libpurple/protocols/jabber/caps.c Mon Oct 26 03:41:22 2009 +0000 +++ b/libpurple/protocols/jabber/caps.c Mon Oct 26 03:47:25 2009 +0000 @@ -975,7 +975,7 @@ g_free(js->caps_hash); js->caps_hash = jabber_caps_calculate_hash(&info, "sha1"); g_list_free(info.identities); - g_list_free(features); + g_list_free(info.features); } const gchar* jabber_caps_get_own_hash(JabberStream *js)