The data is not made a child of the tree: the nodes are made children of the data. So we must explicitly free the data objects.
Attach a file by drag & drop or click to upload