Date: Mon, 12 Aug 1996 08:20:51 +0200 (IST) From: Eli Zaretskii To: Leath Muller Cc: djgpp AT delorie DOT com Subject: Re: Freeing and not freeing Windoze memory In-Reply-To: <199608112310.JAA16484@gbrmpa.gov.au> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Mon, 12 Aug 1996, Leath Muller wrote: > At the moment, I use several doubly-linked lists to store information used > by my program...and at the end, go to the trouble to free all the nodes using > recursive freeing subroutines... > > Does this mean I dont have to do this? Is it still a good idea to free > memory? It's a good idea to free memory you *know* you won't need anymore during this run of the program. Memory that is used until you call `exit' does not need to be explicitly released, since it is automatically freed by the system.