This is a very specific and detailed question, but at the end of this free method will my pAhead pointer need to be deleted since it should point to NULL?
Code:pList = pHead; NODE * pAhead = pList->next; while(pAhead != NULL) { delete pList; pList = pAhead->next; pAhead = pList->next; } delete pList;