如何确定内存泄漏的位置???
用VC.net debug结果,出现:
detected memory leaks!
Dumping objects ->
{68} client block at 0x00F451D0, subtype c0, 2260 bytes long.
a CXYZThread object at $00F451D0, 2260 bytes long
Object dump complete.
线程 'Win32 线程' (0x834) 已退出,返回值为 0 (0x0)。
线程 'Win32 线程' (0x380) 已退出,返回值为 0 (0x0)。
线程 'Win32 线程' (0x704) 已退出,返回值为 0 (0x0)。
程序“[1888] abc.exe: 本机”已退出,返回值为 0 (0x0)。
我检查很久,未能查出。有谁能用什么方法准确地确定是哪个变量没释放?