This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: System Crash after some hours.
On Fri, Oct 29, 2004 at 05:39:08AM -0500, ecos-dev@bcsw.net wrote:
> On a recent project (the first with eCos) we discovered a default option in
> eCos that results in a memory leak. Perhaps it is related to your crash.
>
> Under Infrastructure, there is an option for 'Provide empty C++ delete
> functions'. Make sure it is turned off. It enabled, all calls to
> delete/free do not actually free any memory.
free() will work, just delete does not.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss