Page 1 of 1

Small memory leak in function SaveChartDialog

Posted: Tue Nov 28, 2006 5:41 am
by 9348127
There is a memory leak in the function SaveChartDialog in TeeEditPro.pas in verion 7.0.7 of Tee Chart Professional. A series of TTeeExportFormat objects are stored in the Objects member of the TStringList named "tmp", but are never freed. This is easily fixed: the finally clause should contain something like:
for t:=0 to tmp.Count-1 do
tmp.Objects[t].Free;

Posted: Wed Nov 29, 2006 1:45 pm
by David
Thanks, leak fixed in latest v8 beta sources.