Is this a valid LinkedList destructor? I\'m still sort of confused by them.
I want to make sure I\'m understanding this correctly.
LinkedList::~Link
Tested OK
Destructor for class List
List::~List() { Node *n = this->front, *current = NULL; //initialization part while(n) //start cleanup of nodes of the list { current = n; n=n->next; delete(current); } front = end = NULL; }