Y
Hacker News
new
|
ask
|
show
|
jobs
by
woahhvicky
3195 days ago
This is implemented in terms of calloc()/free(). Is this a joke? Or some kind of post-modern art? Genuinely curious, the use cases aren't clear.
1 comments
kabdib
3194 days ago
Maybe as a debugging cover for memory (but then you'd expect functionality for heap checking, block tracking and leak detection, etc). Forbidding a null pointer on free is a breaking change and a little naive. It's not terribly useful.
link