From: Martin Krischik <krischik@users.sourceforge.net>
Subject: Re: Free-ing memory: not springing leaks?
Date: Mon, 15 Sep 2003 09:13:58 +0200
Date: 2003-09-15T09:13:58+02:00 [thread overview]
Message-ID: <1604737.IP9mLNFTWU@linux1.krischik.com> (raw)
In-Reply-To: x7vu17f9wy9.fsf@smaug.pushface.org
Simon Wright wrote:
> chris <spamoff.danx@ntlworld.com> writes:
>
>> I wrote a binding to it, but did not know at the time free-ing C
>> memory from Ada (with Interfaces.C.Strings.Free) was a no-no.
> I am pretty sure that in GNAT Interfaces.C.Strings.Free is an alias to
> the C free; but there seems to be nothing in the ARM to guarantee
> that.
If you look cloesly at the GNAT Sources you will discover that GANT
internaly uses malloc and free.
But I am with Matthew here: On other compilers it might be different - so
don't us that knowlege.
With Regards
Martin.
--
mailto://krischik@users.sourceforge.net
http://www.ada.krischik.com
next prev parent reply other threads:[~2003-09-15 7:13 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-13 21:33 Free-ing memory: not springing leaks? chris
2003-09-14 1:10 ` Matthew Heaney
2003-09-14 11:02 ` chris
2003-09-14 12:51 ` Matthew Heaney
2003-09-14 12:14 ` chris
2003-09-14 14:24 ` Ludovic Brenta
2003-09-14 19:00 ` chris
2003-09-14 16:06 ` Simon Wright
2003-09-15 7:13 ` Martin Krischik [this message]
2003-09-18 20:15 ` Warren W. Gay VE3WWG
2003-09-19 3:02 ` Hyman Rosen
2003-09-19 13:07 ` Warren W. Gay VE3WWG
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox