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. Ondrej