A form with TTMSFMXLEDbar always gets memory leak.
Tried on both XE2 and XE3. TTMSFMXLEDbar version says: 1.0.5.2.
Windows 7.
To reproduce:
1. new blank firemonkey HD project.
2. add TTMSFMXLEDbar component to form.
3. add "ReportMemoryLeaksOnShutdown:=DebugHook<>0;" to dpr file.
4. run.
5. press close button on form.
6. error message comes up:
-------------------
An unexpected memory leak has occurred. The unexpected small block leaks are:
1 - 12 bytes: TMoveArrayManager<System.Classes.TCollectionItem> x 1
21 - 28 bytes: TTMSFMXLEDItem x 6
29 - 36 bytes: TList<System.Classes.TCollectionItem> x 1, TTMSFMXLEDs x 1
53 - 60 bytes: Unknown x 1
Thank you for your feedback,
We have been able to reproduce this here and have applied a fix.
The fix will be available in the next release.
Kind Regards,
Pieter