[fpc-pascal] Mutual Reference Interfaces and Memory Leaks

Marcos Douglas B. Santos md at delfire.net
Mon Jun 26 17:45:48 CEST 2017


On Mon, Jun 26, 2017 at 12:39 PM, African Wild Dog <paintedlycaon at gmail.com>
wrote:

> Hello,
>
> What is the recommended way to avoid memory leaks in mutual interface
> references?
>
> From delphi 10.1 Berlin it is possible to use [unsafe] e [weak] attributes.
> http://blog.marcocantu.com/blog/2016-april-weak-unsafe-
> interface-references.html.
>
> Is there a workaround in Free Pascal 3?
>

Hi,

I wrote an article about it https://goo.gl/Lij4hu
But you need to translate from Portuguese to English.

Best regards,
Marcos Douglas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20170626/b8dda275/attachment.html>


More information about the fpc-pascal mailing list