Mercurial > pidgin.yaz
comparison libpurple/prefs.c @ 19147:3eb794691fae
memleak fix
author | Eric Polino <aluink@pidgin.im> |
---|---|
date | Tue, 10 Jul 2007 19:03:48 +0000 |
parents | 0e30dfac1f46 |
children | 53ad073898d0 |
comparison
equal
deleted
inserted
replaced
19146:5ff1231993af | 19147:3eb794691fae |
---|---|
1351 GList * list = NULL; | 1351 GList * list = NULL; |
1352 | 1352 |
1353 for(child = node->child;child;child = child->next){ | 1353 for(child = node->child;child;child = child->next){ |
1354 list = g_list_append(list,xmlnode_get_attrib(child,"name")); | 1354 list = g_list_append(list,xmlnode_get_attrib(child,"name")); |
1355 } | 1355 } |
1356 xmlnode_free(node); | |
1356 return list; | 1357 return list; |
1357 | 1358 |
1358 } | 1359 } |
1359 | 1360 |
1360 void | 1361 void |