Valgrind: Memory leak or no?

一笑奈何 提交于 2019-12-02 07:06:22
roelofs

Possibly lost errors in valgrind cover a subset of scenarios involving pointer chains. I would definitely chase the cause of this down, until you can confirm it's not an issue (at the very least, your memory footprint shouldn't be growing), since it can indicate other logic problems in your code.

This post has an answer that addresses it in more detail.

For more information, you can also have a look at the relevant section in the valgrind manual.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!