mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-14 11:09:41 +02:00
* StartRender/EndRender for bug ID #0033496 (change to class handler to avoid memleak)
git-svn-id: trunk@38630 -
This commit is contained in:
parent
3adbab7855
commit
436cd9efb3
@ -403,7 +403,7 @@ procedure TFPCustomReportDataManager.EndRender;
|
||||
Var
|
||||
I : integer;
|
||||
D : TFPReportDataDefinitionItem;
|
||||
H : TFPReportDataHandler;
|
||||
H : TFPReportDataHandlerClass;
|
||||
|
||||
begin
|
||||
// Create all datasets
|
||||
@ -412,7 +412,7 @@ begin
|
||||
D:=DataDefinitions[i];
|
||||
if Assigned(D.RunReportData) then
|
||||
begin
|
||||
H:=TFPCustomReportDataManager.GetTypeHandler(D.DataType);
|
||||
H:=TFPCustomReportDataManager.GetTypeHandlerClass(D.DataType);
|
||||
H.EndRender(D.RunReportData.DataSet);
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user