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

php - Auto increment employee ID -

php - isset function not working properly -

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