Starting with names7.c, replace the line at the end of main()

   // here we are lazy and do not free the list.

with a loop that calls free() on every malloc’d pointer in the list - so all malloc’d memory is free. Be careful!