Next: , Previous: uWalk, Up: Private Routines


3.2.20 deleteNode

Delete a node.

Synopsis

     #include <rbtree/rbtree.h>
     
     
     
static void deleteNode(Node *node);

Parameters

Node *node
the node to delete

Description

This routine deallocates memory associated with a node. If asked to delete a NULL node, it just returns.