[PATCH] traceroute: free some dynamically allocated blocks returned by xzalloc()

Joshua Judson Rosen jrosen at harvestai.com
Fri Mar 8 19:53:24 UTC 2013


On 2013-03-08 14:38, Guilherme Maciel Ferreira wrote:
> Hi,
>
> the documentation says the Busybox leaves to exit() the responsability
> of applet's memory clean up. But you guys avoid any memory
> deallocation that can be released when the applet exit (to save size)?

That is what it says in busybox's TODO file.

It also saves time and bugs, though.

cf.: <http://c-faq.com/malloc/freeb4exit.html>

-- 
"Don't be afraid to ask (λf.((λx.xx) (λr.f(rr))))."


More information about the busybox mailing list