Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void DelList(ListItem** pList)
- {
- ListItem* current = *pList;
- ListItem* next;
- while (current != NULL)
- {
- next = current->m_pNext;
- free(current);
- current = next;
- }
- *pList = NULL;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement