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,20df27b13b7ee81e X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-12-20 02:07:22 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: bilbo@volcanomail.com (Antoine Lec.) Newsgroups: comp.lang.ada Subject: Re: Beginner: Unchecked Deallocation Date: 20 Dec 2001 02:07:22 -0800 Organization: http://groups.google.com/ Message-ID: References: <2d87db3f.0112180600.6129c36b@posting.google.com> NNTP-Posting-Host: 80.13.53.180 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1008842842 22938 127.0.0.1 (20 Dec 2001 10:07:22 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 20 Dec 2001 10:07:22 GMT Xref: archiver1.google.com comp.lang.ada:18139 Date: 2001-12-20T10:07:22+00:00 List-Id: > But WHY the heck do you put Free in the ads anyway? > Do you really want the main procedure to dangle with the lists pointers? > > Thumb rule : nothing that directly manipulates pointers in an ads. > Just hide it in the adb. (Unless you have a very good reason why not) thanks for the advice In fact my free() procedure had to be a local procedure in the liste_acs freeing procedure. So it has nothing to do in the .ads -- b@v