pidgin: e0507f4d: jabber: Plug another leak.

darkrain42 at pidgin.im darkrain42 at pidgin.im
Sun Oct 25 23:50:35 EDT 2009


-----------------------------------------------------------------
Revision: e0507f4df72b825c542d4126c976f1a69213b05e
Ancestor: 9cd449279fcb6beed0f325928e132efcf33209fc
Author: darkrain42 at pidgin.im
Date: 2009-10-26T03:47:25
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/e0507f4df72b825c542d4126c976f1a69213b05e

Modified files:
        libpurple/protocols/jabber/caps.c

ChangeLog: 

jabber: Plug another leak.

jabber_cals_calculate_hash sorts the features, so use the proper
head of list.

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/caps.c	af49355ff0dc50cd86f89de7dba79fa2250d0d6a
+++ libpurple/protocols/jabber/caps.c	6d23929e05937b1c51246cbafc4881b57efc4ce3
@@ -975,7 +975,7 @@ void jabber_caps_calculate_own_hash(Jabb
 	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)


More information about the Commits mailing list