On 16.06.2017 9:33, Mattias Gaertner via Lazarus wrote:
On Fri, 16 Jun 2017 09:25:24 +0200
Ondrej Pokorny via Lazarus <lazarus@lists.lazarus-ide.org> wrote:

On 16.06.2017 9:12, Wolf via Lazarus wrote:
If the call to "halt;" is commented out, there is no memory leak
reported. Is this intentional?
Yes, halt kills the program without finalizing anything. No code is
executed afterwards. Everything that is allocated at the time Halt is
executed results in a memory leak.
Halt calls the finalization sections.

Uppps. Thanks for the correction.

Ondrej
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to