Valgrind claims there is unfreed memory. Is this bad?

后端 未结 7 1415
攒了一身酷
攒了一身酷 2021-01-06 13:15

Valgrind gives me the following leak summary on my code. However, I have freed all malloc\'ed memory. Is this a bad thing, or is this normal? My program is in c.

相关标签:
7条回答
  • 2021-01-06 13:55

    Does it give you the address of the block? sometimes you can learn a lot by looking at what sort of data is in those 568 bytes.

    Hmm, 568 bytes, that's about the size of a MAX_PATH unicode string.

    0 讨论(0)
提交回复
热议问题