How can I tell whether a pointer/address is dynamically allocated?

后端 未结 0 359
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-16 03:55

I\'m trying to mitigate memory leaks.
Obviously the best solution is to not leak memory in the first place.

But in my case, I need to look at existing pointers,

相关标签:
回答
  • 消灭零回复
提交回复
热议问题