c - A zero byte allocation should be considered a leak? -


this question has answer here:

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

Popular posts from this blog

javascript - Access directive function from component class or template -

php - Auto increment employee ID -

python - Evaluating the next line in a For Loop while in the current iteration -