Quantcast
Channel: Atozed Forums - All Forums
Viewing all articles
Browse latest Browse all 274

TIWChartJS memory leak

$
0
0
In the ChartJS demo, I enabled the memory leak report (ReportMemoryLeaksOnShutdown := true) and when closing the application the following memory leak is reported:


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.

Viewing all articles
Browse latest Browse all 274

Trending Articles