我想知道,假设我正在调试代码,并且在任何时候我分配了一些内存和断点命中,例如:
1: Statement to allocate 1 MB memory in **C**. 2: Any other statement where **BREAKPOINT HIT**.
现在我的问题是:
如果是,那么如何确认内存和资源是否已释放.
c c++ ide debugging memory-leaks
c ×1
c++ ×1
debugging ×1
ide ×1
memory-leaks ×1