Delphi 7, SDAC 4.10.0.10, kbmMemtable 5.52, FastMM 4.78
Test data:
CREATE TABLE test (col1 char(5), col2 nvarchar(128))
INSERT INTO test values ('0', 'ABC')
Code:
Code: Select all
qryMain.SQL.Text := 'SELECT * FROM test';
qryMain.Open;
mem1.LoadFromDataset(qryMain, [mtcpoStructure]);
qryMain = TMSQuery using default properties
mem1 = kbmMemtable using default properties
FastMM reports a leak for every TStringField.GetValue for the first column. The strange thing is, if the 2nd field was a char instead of a varchar, no leaks are reported.
Is this something to be concerned about? Thanks.