首页 > 其他 > 详细

A example of Memory leaks

时间:2019-09-01 12:59:52      阅读:70      评论:0      收藏:0      [点我收藏+]

The objects created by new-expressions (objects with dynamic storage duration) persist until the pointer returned by the new-expression is used in a matching delete-expression. If the original value of pointer is lost, the object becomes unreachable and cannot be deallocated: a memory leak occurs.

A example of Memory leaks

原文:https://www.cnblogs.com/ShadowDomain/p/11441565.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!