Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 1228

Summary: Memory Leak in TGanttSeries
Product: FireMonkey TeeChart Reporter: yeray alonso <yeray>
Component: SeriesAssignee: Steema Issue Manager <issuemanager>
Status: CONFIRMED ---    
Severity: enhancement    
Priority: ---    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
URL: http://www.teechart.net/support/viewtopic.php?f=17&t=15610
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description yeray alonso 2015-06-05 11:06:19 EDT
Just create a Delphi FMX project with a chart and a TGanttSeries.
Add this to the project sources:

  reportmemoryleaksonshutdown := true;

When you close the application it shows the report:

The unexpected small block leaks are:

21 - 28 bytes: TGradientPoint x 4, TGradientPoints x 2
29 - 36 bytes: TBitmapImage x 2, TBrushBitmap x 2, TGradient x 2
37 - 44 bytes: TBrushResource x 2, TPosition x 12
45 - 52 bytes: TWhitePen x 1, TTeePen x 1, TBitmap x 2, TList<System.Classes.TCollectionItem> x 2
53 - 60 bytes: Unknown x 2
69 - 76 bytes: TTransform x 2, TTeeBrush x 2
109 - 116 bytes: TMarksCallout x 1

Similar to this:
http://bugs.teechart.net/show_bug.cgi?id=1203