Date: Wed, 15 Oct 1997 13:17:41 +0200 (IST) From: Eli Zaretskii To: Alex Baldin cc: djgpp AT delorie DOT com Subject: Re: How can I detect memory leaks? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Tue, 14 Oct 1997, Alex Baldin wrote: > Is there in DJGPP some like `coreleft' in Borland C ? No. > If not, how can I detect memory leaks in my program? How about writing one? It shouldn't be hard: you just need to look at the sources of malloc and understand its management of the free memory pool. Another way would be to use a debugging malloc replacement which reports memory leaks. There are few such floating around (sorry, don't have a URL for you).