comp.lang.ada
 help / color / mirror / Atom feed
From: David Morton <dmorton@jinx.sckans.edu>
Subject: Q: Ada.Unchecked_Deallocation
Date: 1996/07/11
Date: 1996-07-11T00:00:00+00:00	[thread overview]
Message-ID: <31E5D4D1.11DB36E1@jinx.sckans.edu> (raw)


Quick one here...

If something is created dynamically with new, is it
necessary to deallocate it with Ada.Unchecked_Deallocation,
or will it be removed from the heap space when the program
exits? From the "C" world, I've always been taught to clean
up after myself... is this necessary?  It seems that usually,
"Unchecked" anything in Ada is bad...

Ada95, GNAT on Linux 2.0

Thanks!

-- 
David Morton
 mailto:dmorton@jinx.sckans.edu   http://www.sckans.edu/~dmorton/
 205 College, Winfield, KS 67156    
 This signature will self-destruct in 10 seconds...




             reply	other threads:[~1996-07-11  0:00 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-07-11  0:00 David Morton [this message]
1996-07-12  0:00 ` Q: Ada.Unchecked_Deallocation Robert Dewar
1996-07-16  0:00   ` Robert I. Eachus
1996-07-21  0:00     ` Robert A Duff
1996-07-20  0:00   ` Laurent Guerby
1996-07-20  0:00     ` Robert Dewar
1996-07-21  0:00     ` Robert A Duff
1996-07-21  0:00   ` Robert A Duff
1996-07-21  0:00   ` Laurent Guerby
1996-07-12  0:00 ` Ron Thompson
1996-07-13  0:00   ` Robert Dewar
1996-07-21  0:00     ` Robert A Duff
1996-07-12  0:00 ` Jon S Anthony
1996-07-14  0:00 ` Andy Askey
1996-07-14  0:00   ` Robert Dewar
1996-07-27  0:00     ` Uri Shina
1996-07-30  0:00       ` Theodore E. Dennison
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox