Next: sll_destroy_node, Previous: sll_destroy_tail, Up: Singly Linked Lists
Deallocate the memory associated with a detached node.
#include <linklist/linklist.h>void sll_destroy_dnode(SLLNode unode);
SLLNode unode
- the node to destroy
This routine deallocates the memory associated with a detached node.
The user must have already destroyed the data associated with the
node. The node handle must have been returned by
sll_detach_node
.