[Chilli] [PATCH] Fix: Memory leak of opt_run()

Wichert Akkerman wichert at wiggy.net
Mon Mar 8 07:28:12 UTC 2010


On 2010-3-8 08:25, Masashi Honma wrote:
>>
>
> Can I understand that you believe that "operating systems cleans up all
> memories malloc()ed by process at the end of the process" ? I think there
> is such a operating system. But I think not all operating systems can do
> that. And it is hard for developer who aim to port the CoovaChilli to
> new platform to research the operating system behavior. So I think OS
> independent code is better.

FWIW I have never seen an operating system which does not do that. That 
would so easily lead to critical stability problems that an OS simply 
can not be that lazy. The only possible exception I can imagine are 
specific embedded/realtime systems which such a tradeoff might make sense.

Wichert.

-- 
Wichert Akkerman <wichert at wiggy.net>   It is simple to make things.
http://www.wiggy.net/                  It is hard to make things simple.


More information about the Chilli mailing list