作者indept (真人)
看板Programming
标题[问题] Memory leak
时间Fri Dec 1 08:29:36 2006
请问我如果只是一个普通的使用者在Linux的环境下写C的程式,
若我 allocate 了记忆体之後没有 free 就结束程式了,
会有所谓的 memory leak 吗?
会对系统造成影响吗?
还是当我的 application 结束後,
所有的资源又回归系统了呢?
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 171.64.92.135
1F:推 cyu021:原则上程式结束之後系统应该会回收memory 140.114.71.71 12/01 12:06
2F:推 final01:memory leak是指执行时吧? 140.134.224.68 12/01 17:11