🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #4082

Re: Is malloc()ed storage freed upon program termination?

#4082
From: Arno Eigenwillig
Date: Fri, 22 Sep 1995 13:04
14 lines
985 bytes
In article <1995Sep19.061336.21215@sq.com>, Mark Brader writes:

> > Does the C standard guarantee that storage allocated by malloc() is
> > freed during program termination?
> 
> The question is meaningless.  The standard specifies what happens, or
> may happen, *during* execution of a program, not afterwards.

But it *does* specify that during termination flies are closed,
doesn't it? Wouldn't that contradict your statement?

-- __
__/// Arno Eigenwillig /\ <arno@yaps.rhein.de> \/  PGP key
\XX/   V+49-2225-5870  /\ <Arnooo @ #amigager> \/ available
Technical Details
Message-ID: <36Flx*mhd@yaps.rhein.de>
Path: arc1-ca.pugleaf.net!phoenix.rhein.de!yaps!arno
References: <43l16d$3dp@homer.alpha.net> <1995Sep19.061336.21215@sq.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!phoenix.rhein.de!yaps!arno
From: arno@yaps.rhein.de (Arno Eigenwillig)
Newsgroups: comp.std.c
Subject: Re: Is malloc()ed storage freed upon program termination?
Message-ID: <36Flx*mhd@yaps.rhein.de>
Date: Fri, 22 Sep 1995 15:04:35 +0200
References: <43l16d$3dp@homer.alpha.net> <1995Sep19.061336.21215@sq.com>
Organization: Yet Another Private Site in Meckenheim, Germany
X-Newsreader: Arn V 1.04