会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Arthurian
因为有梦所以远方
博客园
首页
联系
订阅
管理
2020年8月22日
从使用delete释放指针导致程序崩溃看变量初始化
摘要: 先来看下面的代码 bool FuncTest(LPCTSTR lpcProc) { bool bRet = false; ... if (CONDITION1) { goto FUNC_CLEAN; } char* pchX = new char[100]; ... FUNC_CLEAN: if (
阅读全文
posted @ 2020-08-22 20:58 Arthurian
阅读(1084)
评论(0)
推荐(0)
编辑