[ECOS] network stack memory leak

Richard Rauch Richard.Rauch@vipa.de
Thu Dec 16 10:25:00 GMT 2004


Hello at ecos community,

we use the "free bsd stack" V2_0 and have a memory leak!
With a simple server application, which only performs a loop over accept()
and close(), the support.c net_mem_pool.freemem goes down till zero.
We see that each time there were 2 calls of cyg_net_malloc() but only 1 call
of cyg_net_free().
We would expect 2 calls of cyg_net_free() ?!
Is such a problem known/fixed ?
Do you have any hints for further actions?

Thanks in advance

Richard




-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list