void server_ptree_free(server_ptree_t *branch);
This frees all memory allocated for the tree at creation time.