From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,13d6cd0af0d0d769 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1995-03-27 18:04:45 PST Path: nntp.gmd.de!Germany.EU.net!howland.reston.ans.net!spool.mu.edu!uwm.edu!math.ohio-state.edu!jussieu.fr!nef.ens.fr!sands From: sands@clipper.ens.fr (Duncan Sands) Newsgroups: comp.lang.ada Subject: Re: Does memory leak? Date: 27 Mar 1995 09:36:08 GMT Organization: Ecole Normale Superieure, PARIS, France Distribution: world Message-ID: <3l60u8$o7k@nef.ens.fr> NNTP-Posting-Host: bireme.ens.fr Date: 1995-03-27T09:36:08+00:00 List-Id: Many thanks to everyone who replied to my question "Does memory leak": Fred J. McCall (fjm@ti.com), Robert I. Eachus (eachus@spectre.mitre.org), T. Owen O'Malley (omalley@porte-de-st-ouen.ics.uci.edu), Keith Thompson (kst@alsys.com), Karl (karl@grebyn.com), Arthur Evans Jr (evans@evans.pgh.pa.us), Henry Baker (hbaker@netcom.com), Larry Kilgallen (kilgallen@eisner.decus.org) and everyone else. The short answer seems to be: (1) some early compilers were a bit buggy and leaked, but this is no longer a problem. (2) if you allocate memory on the free store, you are responsable for it: some implementations may garbage collect but not all. Thanks again, Duncan Sands.