mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-06 22:10:36 +02:00
* Fix memleak on refresh, spare record initialized twice
git-svn-id: trunk@38817 -
This commit is contained in:
parent
ee1a5843aa
commit
8f717ed66a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user