bgrabitmap / bgracontrols

🆗 BGRA Controls is a set of graphical UI elements that you can use with Lazarus LCL applications.
https://bgrabitmap.github.io/bgracontrols/
182 stars 30 forks source link

TBGRASVGImageList memory leak #151

Closed Lulu04 closed 1 year ago

Lulu04 commented 1 year ago

Hi, thank you for BGRAControl ! There is memory leak in TBGRASVGImageList. To reproduce, create a new project, put on the form an instance of TBGRASVGImageList, compile and run with heaptrc enabled.

Attached the report generated by heaptrc. Regards HEAP.txt

circular17 commented 1 year ago

Hi Lulu!

Thanks to Lainz, BGRAControls has been continuously maintained.

About the memory leak you're mentionning, it is a known one that depends on FPC code and that has been fixed in recent versions, though this may not be in the latest stable release of Lazarus.

circular17 commented 1 year ago

Duplicate of https://github.com/bgrabitmap/bgracontrols/issues/134

circular17 commented 1 year ago

Thank you Lulu, for taking the time to report this issue! Even though this particular memory leak is known to us, we always value the contributions and vigilance. Please continue to share any other observations or suggestions you might have in the future!

Lulu04 commented 1 year ago

Sorry, I don't look in the closed issues list before posting. I will continue to share! Let's go! :)

circular17 commented 1 year ago

No need to apologize! Typically, users aren't expected to go through closed issues before reporting. Given that this issue pertains to FPC, it does fall into a gray area. So, don't worry too much about checking closed issues; I'm here to help identify if something's been addressed before.