* Fixed mem-leak

git-svn-id: trunk@35753 -
This commit is contained in:
joost 2017-04-07 22:23:29 +00:00
parent f218076c8a
commit 39b780c3e3

View File

@ -381,6 +381,7 @@ var
infosl: TStringList;
begin
infosl:=TStringList.Create;
try
infosl.Delimiter:=' ';
infosl.DelimitedText:=GetCompilerInfo(ACompiler,AOptions);
if infosl.Count<>3 then
@ -388,6 +389,9 @@ begin
AVersion:=infosl[0];
ACPU:=StringToCPU(infosl[1]);
AOS:=StringToOS(infosl[2]);
finally
infosl.Free;
end;
end;
function IsSuperUser:boolean;