I have a problem with the record with methods.

I have a problem with the record with methods.

I don't understand where the memory leak comes from. Simply example:

https://gist.github.com/jaclas/0857421c1fd338fdf00eaf73d71936f5

Memory leak raported by FastMM:

https://pastebin.com/raw/VbexjkLS

Delphi Tokyo 10.2.

What I doing wrong?
https://pastebin.com/raw/VbexjkLS

Comments

  1. I entered an internal bug. I do want to encourage users to enter bugs you see, not just post them on social media. To repeat, someone like me seeing this here is chance; the only way to notify us of a bug is (a) support or (b) Quality Portal.

    ReplyDelete
  2. David Millington I understand that. I was just worried that if the user did not do so then the report would not happen at all.

    ReplyDelete

Post a Comment