comp.lang.ada
 help / color / mirror / Atom feed
From: bilbo@volcanomail.com (Antoine Lec.)
Subject: Re: Beginner: Unchecked Deallocation
Date: 20 Dec 2001 02:07:22 -0800
Date: 2001-12-20T10:07:22+00:00	[thread overview]
Message-ID: <d442bc8e.0112200207.426f030d@posting.google.com> (raw)
In-Reply-To: EAdU7.25827$Yq5.2975235@news20.bellglobal.com

> 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



  reply	other threads:[~2001-12-20 10:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-18  3:35 Beginner: Unchecked Deallocation Antoine Lec.
2001-12-18 14:00 ` Mark Doherty
2001-12-18 22:17   ` Antoine Lec.
2001-12-20  4:39     ` Patrick Hohmeyer
2001-12-20 10:07       ` Antoine Lec. [this message]
2001-12-20  4:54     ` Steve Doiel
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox