delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/15/07:19:44

Date: Wed, 15 Oct 1997 13:17:41 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Alex Baldin <pipen AT olvs DOT miee DOT ru>
cc: djgpp AT delorie DOT com
Subject: Re: How can I detect memory leaks?
In-Reply-To: <Pine.LNX.3.95.971014205100.21018A-100000@olvs>
Message-ID: <Pine.SUN.3.91.971015131532.17868L-100000@is>
MIME-Version: 1.0

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).

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019