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,cc05aeb5e0d8b475 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-09-14 09:07:46 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Free-ing memory: not springing leaks? Date: 14 Sep 2003 17:06:06 +0100 Organization: Pushface Sender: simon@smaug.pushface.org Message-ID: References: <2TM8b.1013$Nb6.297@newsfep4-winn.server.ntli.net> <9JY8b.1963$WI3.25442@newsfep4-glfd.server.ntli.net> NNTP-Posting-Host: pogner.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.demon.co.uk 1063555665 23699 62.49.19.209 (14 Sep 2003 16:07:45 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Sun, 14 Sep 2003 16:07:45 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Xref: archiver1.google.com comp.lang.ada:42481 Date: 2003-09-14T17:06:06+01:00 List-Id: chris 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.