Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
bgColor#FFCCCC
for (p = head; p != NULL; p = p->next)     /* WRONG */
    free(p);

Compliant Solution

...