changeset 32470:49fc653d72c6

merge of '3afac25cbbb20ab81fe5ab388a8e529090591d60' and '8bd5778e33d263e8e406320a39f876d87c7534a5'
author andrew.victor@mxit.com
date Mon, 09 Jan 2012 11:31:00 +0000
parents 692d5408983d (current diff) d5363fbfa031 (diff)
children 4db23cc97da4
files
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/caps.c	Wed Jan 04 06:30:51 2012 +0000
+++ b/libpurple/protocols/jabber/caps.c	Mon Jan 09 11:31:00 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);