From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: free() DOESN'T return memory to system Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: <4d7cssg4vt0hv5c6lnfshgmm3fmmbrf9r1@4ax.com> References: <384411007 DOT 969036196326 DOT JavaMail DOT root AT web305-mc DOT mail DOT com> <969078416 DOT 841936 AT shelley DOT paradise DOT net DOT nz> <969134119 DOT 601345 AT osiris DOT esoterica DOT pt> <8q552e$m1c$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 10 X-Trace: /wq5/biVtR32/CpPra1rMGN31aoVQcRk/uNVE0LNUuLI+ItJZJtV+3K9borSlbWFZFrUvkioh5Ye!k74jQ0c8j712KVxXHhygAj8kzZObpehABsERIaNMgcHwEW6Xw6XKabSWbNCyOuNWRZ0OXAh/6XpU!ZQ== X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Mon, 18 Sep 2000 13:50:29 GMT Distribution: world Date: Mon, 18 Sep 2000 13:50:29 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On 18 Sep 2000 13:24:30 GMT, Hans-Bernhard Broeker wrote: >Sorry, but you seem to have missed the second part of the explanation of >what free() does. Just because it doesn't free the memory for use by the >system at large (i.e. Winblows) doesn't mean free() would do nothing at >all. It *does* make the memory available for use by later malloc() calls >in the same program. So what call makes memory available for programs that you spawn()?