What's the use of FEATURE_CLEANUP ?
ldoolitt at recycle.lbl.gov
Mon Dec 19 18:36:20 UTC 2005
On Mon, Dec 19, 2005 at 07:00:21PM +0100, Ignacio Garc?a P?rez wrote:
> In which cases it is actually useful to do a cleanup (deallocate memory,
> close handles) ?.
I believe the rationale for FEATURE_CLEANUP is to facilitate
memory-leak checkups with e.g., dmalloc. It flags memory
locations that are _supposed_ to be left dangling at exit,
so you can more easily find those that are _accidentally_
left dangling at exit.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
Url : http://lists.busybox.net/pipermail/busybox/attachments/20051219/18267c0a/attachment-0002.pgp
More information about the busybox