Write a small C loop that frees every element of a linked list without reading freed memory.