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,fe0d58e5e40e10c7 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.vmunix.org!peer-uk.news.demon.net!kibo.news.demon.net!mutlu.news.demon.net!news.demon.co.uk!demon!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: many exceptions cause memory leak? Date: Mon, 24 Oct 2005 21:00:59 +0100 Organization: Pushface Message-ID: References: NNTP-Posting-Host: pogner.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.demon.co.uk 1130184059 20352 62.49.19.209 (24 Oct 2005 20:00:59 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Mon, 24 Oct 2005 20:00:59 +0000 (UTC) Cancel-Lock: sha1:rGS5YQQhVOiQz6mmplx2COIVbjs= User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin) Xref: g2news1.google.com comp.lang.ada:5911 Date: 2005-10-24T21:00:59+01:00 List-Id: Christopher Broeg writes: > I am by no means an expert in programming but I figured that all > memory assigned by pointers is returned. I do not use my own storage > pool but allocate just by > is new... > so it is all on the heap, I guess. GNAT doesn't automatically free this memory until the end of the program. You need to free it yourself.