delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/07/02:01:01

Date: Tue, 7 Jan 1997 08:47:16 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Benjamin D Chambers <chambersb AT juno DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Malloc & Co.
In-Reply-To: <19970106.194216.4975.0.chambersb@juno.com>
Message-ID: <Pine.SUN.3.91.970107084641.26754G-100000@is>
MIME-Version: 1.0

On Mon, 6 Jan 1997, Benjamin D Chambers wrote:

> When my program exits, is all the allocated memory on freed
> automatically, or is the system retained unless I cal 'free' on all my
> memory blocks (that I allocated with malloc & calloc)?

All the memory is freed automatically when your program exits.

- Raw text -


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