首页
话题
动态
专家
文章
作者
公告
更多
积分规则
登录 或 注册
首页
话题
动态
专家
文章
作者
公告
积分规则
发表新帖
发表新帖
How to check deallocation of memory
前端
未结
关注
7
1331
猫巷女王i
2020-12-03 21:59
How to check if memory to which pointer p points has been succesfully deallocated?
7条回答
無奈伤痛
(楼主)
2020-12-03 22:26
Some tools which are doing static code analysis can point some problems regarding the memory deallocation.
Use valgrind to check whether you have memory leaks
Avoid raw pointers - use smart pointers instead
0
讨论(0)
查看其它7个回答
发布评论:
提交评论
加载中...
验证码
看不清?
提交回复
热议问题