You've already forked lazarus-ccr
Fixed memory leak on destroy.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2371 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -1679,7 +1679,11 @@ begin
|
||||
end;
|
||||
|
||||
destructor TsSpreadBIFF8Reader.Destroy;
|
||||
var
|
||||
j: integer;
|
||||
begin
|
||||
for j := FXFList.Count-1 downto 0 do TObject(FXFList[j]).Free;
|
||||
for j := FFormatList.Count-1 downto 0 do TObject(FFormatList[j]).Free;
|
||||
FXFList.Free;
|
||||
FFormatList.Free;
|
||||
if Assigned(FSharedStringTable) then FSharedStringTable.Free;
|
||||
|
Reference in New Issue
Block a user