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=unavailable autolearn_force=no version=3.4.4 Path: border2.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Deallocating an object twice References: Date: Sun, 27 Jul 2014 10:29:30 -0500 Message-ID: <85bnsarfad.fsf@stephe-leake.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (windows-nt) Cancel-Lock: sha1:w+cBmbv7hd1skTgm6Wo2hmAyLbY= MIME-Version: 1.0 Content-Type: text/plain X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: da54c53d51adaeef2f4a306996 X-Received-Bytes: 1084 X-Received-Body-CRC: 3326311723 Xref: number.nntp.dca.giganews.com comp.lang.ada:187936 Date: 2014-07-27T10:29:30-05:00 List-Id: Victor Porton writes: > If I understand correctly, it is an undefined behavior (or is it called > unbounded error?) if a pool access is deallocated twice with > Unchecked_Deallocation. You misunderstand. ARM 2012 13.11.3 Procedure Free has the following effect: 7 1. After executing Free(X), the value of X is null. 8 2. Free(X), when X is already equal to null, has no effect. -- -- Stephe