Next: , Previous: dll_destroy_tail, Up: Doubly Linked Lists


3.2.7 dll_destroy_dnode

Deallocate the memory associated with a detached node.

Synopsis

     #include <linklist/linklist.h>
     
     
     
void dll_destroy_dnode(DLLNode unode);

Parameters

DLLNode unode
the node to destroy

Description

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 dll_detach_node.