Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: mismatched curly braces

...

This non-compliant code example sets str to reference either dynamically allocated memory or a statically allocated string literal depending on the value of argc. In either case, str} is passed as an argument to {{free(). If anything other than dynamic allocated memory is referenced by str, the call to free(str) is erroneous.

...