pidgin: 8bd5778e: Our minimum version of GLib does not hav...

andrew.victor at mxit.com andrew.victor at mxit.com
Mon Jan 9 06:35:28 EST 2012


----------------------------------------------------------------------
Revision: 8bd5778e33d263e8e406320a39f876d87c7534a5
Parent:   f7aa873b9699de75db73441a0ca52795d63cfae1
Author:   andrew.victor at mxit.com
Date:     01/09/12 06:30:40
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/8bd5778e33d263e8e406320a39f876d87c7534a5

Changelog: 

Our minimum version of GLib does not have a g_list_free_full().


Changes against parent f7aa873b9699de75db73441a0ca52795d63cfae1

  patched  libpurple/protocols/jabber/caps.c

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/caps.c	7df7bbfd5814bc8322feaa0a154dc685f7f017cf
+++ libpurple/protocols/jabber/caps.c	4a4aa7744a25426d5dfe7fe4ce13e3c06c9d0cf2
@@ -888,7 +888,8 @@ gchar *jabber_caps_calculate_hash(Jabber
 					                                   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);


More information about the Commits mailing list