Wiki Markup |
---|
As noted in [undefined behavior 169| CC. Undefined Behavior#ub_169] of |
Annex J of \[[ISO/IEC 9899-1999| AA. C References#ISO/IEC 9899-1999]\], the behavior a program is [undefined | BB. Definitions#undefined behavior] when |
the pointer argument to the
free
orrealloc
function does not match a pointer earlier returned bycalloc
,malloc
, orrealloc
, or the space has been deallocated by a call tofree
orrealloc
.
...