Reporting bug: Memory leak in FastReport IBDAC component
Posted: Sun 13 Apr 2008 10:57
Hi guys,
I've found a memory leak in IBDAC Third Party Components / FastReport components.
In frxDACComponents.pas:
But FParams is not freed later which leads to a big bad memory leak!
Solution:
Replace
with
Regards,
Zd
I've found a memory leak in IBDAC Third Party Components / FastReport components.
In frxDACComponents.pas:
Code: Select all
constructor TfrxDACDatabase.Create(AOwner: TComponent);
begin
inherited;
FParams := TstringList.Create;
end;
Solution:
Replace
Code: Select all
destructor TfrxDACDatabase.Destroy;
begin
inherited;
end;
Code: Select all
destructor TfrxDACDatabase.Destroy;
begin
inherited;
FParams.Free;
end;
Zd