This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
network stack memory leak
- From: "Richard Rauch" <Richard dot Rauch at vipa dot de>
- To: <ecos-discuss at sources dot redhat dot com>
- Date: Thu, 16 Dec 2004 11:25:08 +0100
- Subject: [ECOS] network stack memory leak
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