[fpc-pascal] Freeing memory with exceptions

Mattias Gaertner nc-gaertnma at netcologne.de
Thu May 25 08:23:44 CEST 2023


On Thu, 25 May 2023 07:55:39 +0200
Sven Barth via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:

>[...]
> But this is what "managed type" *means*: that the compiler and RTL
> will make sure that it's correctly freed as long as nothing
> unexpected happens.

... and exceptions are expected.

Maybe better: As long as the user does not break the rules.

Mattias



More information about the fpc-pascal mailing list