LazReport: Fix mem leak, patch by Bambang Pranoto, issue #0038927

git-svn-id: trunk@65140 -
This commit is contained in:
jesus 2021-05-26 21:27:07 +00:00
parent cded431fef
commit 752d4a3974

View File

@ -10708,8 +10708,8 @@ var
XML: TLrXMLConfig;
begin
XML := TLrXMLConfig.Create(nil);
XML.LoadFromStream(Stream);
try
XML.LoadFromStream(Stream);
LoadFromXML(XML, 'LazReport/');
FileName := '-stream-';
finally