summaryrefslogtreecommitdiffstats
path: root/src/xplist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xplist.c')
-rw-r--r--src/xplist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xplist.c b/src/xplist.c
index e0a76da..8fe3604 100644
--- a/src/xplist.c
+++ b/src/xplist.c
@@ -337,6 +337,7 @@ static void node_to_xml(node_t* node, void *xml_struct)
337 for (j = num; j > 0; j--) { 337 for (j = num; j > 0; j--) {
338 node_t* ch = node_nth_child(node, j-1); 338 node_t* ch = node_nth_child(node, j-1);
339 node_detach(node, ch); 339 node_detach(node, ch);
340 plist_free_data((plist_data_t)((node_t*)ch)->data);
340 node_destroy(ch); 341 node_destroy(ch);
341 } 342 }
342 node_data->type = PLIST_UID; 343 node_data->type = PLIST_UID;