changeset 28812:edf17df87055

jabber: Plug another leak. jabber_cals_calculate_hash sorts the features, so use the proper head of list.
author Paul Aurich <paul@darkrain42.org>
date Mon, 26 Oct 2009 03:47:25 +0000
parents c3be1de8abde
children 279c6cfe6966
files libpurple/protocols/jabber/caps.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)