Consider the following code which deletes all the nodes in a…

Consider the following code which deletes all the nodes in a linked list.​void doublyLinkedList::destroy(){  nodeType *temp; //pointer to delete the node  while (first != nullptr)  {     temp = first;     first = first->next;     ____}last  = nullptr;count = 0;}Which of the following is the missing statement?