Versions Compared

Key

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

...

CERT C++ Secure Coding StandardMEM34-CPP. Only free memory allocated dynamically
ISO/IEC TS 17961 (Draft)Reallocating or freeing memory that was not dynamically allocatied [xfree]
MITRE CWECWE-590, Free of invalid pointer not on the heap

Bibliography

[Seacord 20052013]Chapter 4, "Dynamic Memory Management"