www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/08/12/01:26:55

Date: Mon, 12 Aug 1996 08:20:51 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Leath Muller <leathm AT gbrmpa DOT gov DOT au>
Cc: djgpp AT delorie DOT com
Subject: Re: Freeing and not freeing Windoze memory
In-Reply-To: <199608112310.JAA16484@gbrmpa.gov.au>
Message-Id: <Pine.SUN.3.91.960812081834.26669E-100000@is>
Mime-Version: 1.0

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. 

- Raw text -


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