This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Free Bsd memory leak ?
- From: Philippe Moutarlier <pmoutarlier at alliantnetworks dot com>
- To: Gary Thomas <gary at mlbassoc dot com>
- Cc: Ecos list <ecos-discuss at sources dot redhat dot com>
- Date: 10 Dec 2003 18:33:32 -0500
- Subject: Re: [ECOS] Free Bsd memory leak ?
- Organization:
- References: <1071098119.9882.4.camel@Dragon> <1071098763.1942.19.camel@hermes>
You're absolutely correct, it is fixed in the latest version.I should
have checked that :(
Sorry !
On Wed, 2003-12-10 at 18:26, Gary Thomas wrote:
> On Wed, 2003-12-10 at 16:15, Philippe Moutarlier wrote:
> > In the bsd_accept function, a structure sockaddr is being allocated to
> > receive the peer IP address. This structure is mem-copied into the
> > argument passed to accept but not freed before the exit of the function.
> >
> > Are we missing something there ?
>
> What version are you looking at? You can get this via 'cvs stat <FILE>',
> where <FILE> is the name of the file which contains the function you are
> looking at.
>
> In particular, I think this problem was addressed on July 29.
--
Philippe Moutarlier <pmoutarlier@alliantnetworks.com>
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss