rbtree: fix memory leak in tests
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.
Showing
Please register or sign in to comment
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.