In the ChartJS demo, I enabled the memory leak report (ReportMemoryLeaksOnShutdown := true) and when closing the application the following memory leak is reported:
EDIT:
It looks like in the unit IWCanvas, at line 259 TIWBorderOptions is created and never freed. If I add FBorderOptions.Free; in TIWCustomCanvas.Dispose, the leak disappears.
Code:
---------------------------
Unexpected Memory Leak
---------------------------
An unexpected memory leak has occurred. The unexpected small block leaks are:
29 - 36 bytes: TIWBorderOptions x 3
EDIT:
It looks like in the unit IWCanvas, at line 259 TIWBorderOptions is created and never freed. If I add FBorderOptions.Free; in TIWCustomCanvas.Dispose, the leak disappears.