Versions Compared

Key

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

...

Since malloc() is only called if p is NULL when entering the if clause, the call to {[free()}} might be receiving a pointer to local data not allocated by malloc(). This is partially due to the uncertainty of whether malloc() is actually called or not.

...