Mail Archives: djgpp/1996/08/12/01:26:55
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 -