void DeleteNodeList_bn ( nodelist_bn*  nodes )

Releases the memory used by the node list nodes.

It doesn't modify the nodes within the list at all.

It is okay if nodes is a NULL pointer (then no action is taken).

Don't try to delete the nonmodifiable node lists returned by functions like GetNetNodes_bn and GetNodeParents_bn (they will get deleted when the node or net is deleted).


In versions previous to 2.09, this function was named FreeNodeList_bn.

See also:

DeleteNode_bn    Removes a node from a net, and frees the memory it uses
NewNodeList2_bn    Creates a new (empty) node list