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-Thread: 103376,f02a96c85b47538d X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Received: by 10.68.0.170 with SMTP id 10mr7562642pbf.2.1320966789109; Thu, 10 Nov 2011 15:13:09 -0800 (PST) Path: h5ni25439pba.0!nntp.google.com!news2.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!193.252.117.184.MISMATCH!feeder.news.orange.fr!not-for-mail Message-ID: <4EBC5A85.2040807@obry.net> Date: Fri, 11 Nov 2011 00:13:09 +0100 From: Pascal Obry Organization: Home - http://www.obry.net User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; fr-FR; rv:1.8.1.22) Gecko/20090605 Thunderbird/2.0.0.22 Mnenhy/0.7.5.0 MIME-Version: 1.0 Newsgroups: comp.lang.ada To: Jeffrey Carter Subject: Re: Read Windows login username in Ada 95 References: <9192369.445.1320801564794.JavaMail.geo-discussion-forums@yqbl36> <268750.2183.1320871677246.JavaMail.geo-discussion-forums@yqan20> <18650574.2609.1320888091484.JavaMail.geo-discussion-forums@yqjc16> In-Reply-To: NNTP-Posting-Date: 11 Nov 2011 00:13:08 CET NNTP-Posting-Host: 90.2.58.8 X-Trace: 1320966788 reader.news.orange.fr 2516 90.2.58.8:12843 X-Complaints-To: abuse@orange.fr Xref: news2.google.com comp.lang.ada:14398 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Date: 2011-11-11T00:13:08+01:00 List-Id: Le 10/11/2011 19:26, Jeffrey Carter a �crit : > On 11/09/2011 06:21 PM, Rego, P. wrote: >> >>> Who is responsible for freeing Answer_Ptr? >> >> If I included an Free(Answer_Ptr), would it solve this? > > I don't know. My question was whether the pointer returned needs to be > freed by the caller. Moran's response seems to indicate that it does not. In this case it does not. I agree with Tom. Pascal. -- --|------------------------------------------------------ --| Pascal Obry Team-Ada Member --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE --|------------------------------------------------------ --| http://www.obry.net - http://v2p.fr.eu.org --| "The best way to travel is by means of imagination" --| --| gpg --keyserver keys.gnupg.net --recv-key F949BD3B