c - A zero byte allocation should be considered a leak? -
this question has answer here:
- what's point in malloc(0)? 17 answers
i'm checking memory allocation poolmon c application, after uninstall still have 1 allocation 0 bytes. can considered memory leak?
it's implementation defined.
but malloc(0) must free()'d.
Comments
Post a Comment