Versions Compared

Key

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

...

Only free a pointer to dynamic memory referred to by x once. For this example this can be This is accomplished by removing the call to free() in the section of code executed when error_condition is true.

...