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,6148e77d4edcfadd,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-12-23 15:19:17 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!lnsnews.lns.cornell.edu!newsstand.cit.cornell.edu!news.stealth.net!news.stealth.net!204.127.161.6.MISMATCH!wn12feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!rwcrnsc52.ops.asp.att.net.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: freeing general access types X-Newsreader: Tom's custom newsreader Message-ID: NNTP-Posting-Host: 12.234.13.56 X-Complaints-To: abuse@attbi.com X-Trace: rwcrnsc52.ops.asp.att.net 1040685556 12.234.13.56 (Mon, 23 Dec 2002 23:19:16 GMT) NNTP-Posting-Date: Mon, 23 Dec 2002 23:19:16 GMT Organization: AT&T Broadband Date: Mon, 23 Dec 2002 23:19:16 GMT Xref: archiver1.google.com comp.lang.ada:32264 Date: 2002-12-23T23:19:16+00:00 List-Id: If P is a general access type, is there any way to know whether it's pointing to allocated storage, and should have Ada.Unchecked_Deallocation applied to avoid a memory leak, or it's pointing at a declared object, which should not be deallocated?