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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ed6a891101ff4e06 X-Google-Attributes: gid103376,public From: tmoran@bix.com (Tom Moran) Subject: Re: Freeing Pointers to classwide types Date: 1998/09/25 Message-ID: <360b26a1.41575272@SantaClara01.news.InterNex.Net>#1/1 X-Deja-AN: 394631685 References: <1ftmFTC69GA.191@samson.airnet.net> Organization: InterNex Information Services 1-800-595-3333 Newsgroups: comp.lang.ada Date: 1998-09-25T00:00:00+00:00 List-Id: >freeing the memory once you allocate it Look up Unchecked_Deallocation in your Ada text if you are worried about manually freeing memory, class-wide or not. Of course one would also hope procedure something(....) is type ptr is access .... p : ptr: := new ... ... end something to free the memory pointed to by 'p' when it leaves procedure something.