changeset 32472:4db23cc97da4

merge of '13d6e924c9257b20e21050646cab88043bdb2e15' and 'a07b7bfd5f979c74126ebea4f86249f24ff00dfd'
author andrew.victor@mxit.com
date Mon, 09 Jan 2012 11:32:01 +0000
parents 307d487f21ee (current diff) 49fc653d72c6 (diff)
children 6ffb26b8a8ce
files
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/caps.c	Mon Jan 09 10:58:37 2012 +0000
+++ b/libpurple/protocols/jabber/caps.c	Mon Jan 09 11:32:01 2012 +0000
@@ -888,7 +888,8 @@
 					                                   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);