This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Free Bsd memory leak ?
- From: Philippe Moutarlier <pmoutarlier at alliantnetworks dot com>
- To: Ecos list <ecos-discuss at sources dot redhat dot com>
- Date: 10 Dec 2003 18:15:19 -0500
- Subject: [ECOS] Free Bsd memory leak ?
- Organization:
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 ?
--
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