驽马十驾

导航

2013年4月12日 #

内存泄露定位

摘要: vs 2008提示内存泄露的代码大概如下面所示:Dumping objects ->X:\...\xxx.cpp(46) : {1532} normal block at 0x019BCC60, 1 bytes long. Data: < > 0A Object dump complete.xxx.cpp指出内存泄露的代码所在的文件,(46)代表行号,{1532}申请内存时获得的顺序号(allocation order number),0x019BCC60代表内存地址,1 bytes long说明泄露的内存大小为1bytesData: < > 0A是泄露的内存处的 阅读全文

posted @ 2013-04-12 11:49 驽马十驾 阅读(264) 评论(0) 推荐(0)