* Fix memleak on refresh, spare record initialized twice

git-svn-id: trunk@38817 -
This commit is contained in:
michael 2018-04-23 07:19:37 +00:00
parent ee1a5843aa
commit 8f717ed66a

View File

@ -2238,9 +2238,10 @@ begin
InitialiseIndex;
F.SetIndexProperties;
end;
if Active then
if Active then
begin
B.InitialiseSpareRecord(IntAllocRecordBuffer);
if not Refreshing then
B.InitialiseSpareRecord(IntAllocRecordBuffer);
if (F.Fields<>'') then
BuildIndex(B);
end