What's the use of FEATURE_CLEANUP ?

Larry Doolittle ldoolitt at recycle.lbl.gov
Mon Dec 19 18:36:20 UTC 2005


Ignacio -

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.

     - Larry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.busybox.net/pipermail/busybox/attachments/20051219/18267c0a/attachment-0002.pgp 


More information about the busybox mailing list