branch_tree: free the tree wrapper on *_destroy()