free(queue.s.r) This method is used to free all dynamic memory allocated by the Queue, effectively deleting all entries on the Queue, and setting its length to zero. queue a pointer to the queue (structure of type Queue) This function returns: nothing Use of this class requires the following header files: queue.h Related functions: create_Queue() the constructor for instances of the Queue class C/C++ usage: #include "queue.h" Queue *queue; (*queue->free)(queue);