FpReport example: Fix a memory leak. Issue #40023, patch by Andreas F.

This commit is contained in:
Juha 2022-12-02 11:03:50 +02:00
parent d50f9fbf53
commit d6dce85b44

View File

@ -124,6 +124,7 @@ begin
FReport.RenderReport(P);
ShowMessage('PDF created: '+P.FileName);
finally
P.Free;
ButtonSet(true);
end;
end;