src/gedlib/node.c
/*=====================================
 * free_nodes -- Free all NODEs in tree
 *===================================*/
- Free all NODEs in tree
- Free all NODEs in tree
void
free_nodes (NODE node)
{
	NODE sib;
	while (node) {
		if (nchild(node)) free_nodes(nchild(node));
		sib = nsibling(node);
		free_node(node);
		node = sib;
	}
}
void free_nodes ( NODE node ) { NODE sib ; while ( node ) { if ( nchild ( node ) ) free_nodes ( nchild ( node ) ) ; sib = nsibling ( node ) ; free_node ( node ) ; node = sib ; } }
free_nodes -- Free all NODEs in tree
free_nodes -- Free all NODEs in tree