changeset 19147:3eb794691fae

memleak fix
author Eric Polino <aluink@pidgin.im>
date Tue, 10 Jul 2007 19:03:48 +0000
parents 5ff1231993af
children 783ed983122b
files libpurple/prefs.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/prefs.c	Tue Jul 10 16:10:06 2007 +0000
+++ b/libpurple/prefs.c	Tue Jul 10 19:03:48 2007 +0000
@@ -1353,6 +1353,7 @@
 	for(child = node->child;child;child = child->next){
 		list = g_list_append(list,xmlnode_get_attrib(child,"name"));
 	}
+	xmlnode_free(node);
 	return list;
 
 }