Skip to content

TAVLTree.DisposeNode

Dispose of a node outside of the tree.

Declaration

Source position: avl_tree.pp line 123

public 
procedure TAVLTree.DisposeNode(ANode: TAVLTreeNode);  virtual;

Description

DisposeNode disposes of a node outside of the tree. If the node manager is set, the node is returned to the manager, otherwise it is freed. Do not use this on a node that is still in the tree.

Errors

If use on a node in the tree, no error will happen, but the tree will no longer be correct and access violations may happen later on.

See also

Name Description
TAVLTree.NewNode Create a new tree node.