fcl-js: fixed mem leak

This commit is contained in:
mattias 2022-02-01 13:16:46 +01:00
parent ad971df05a
commit 5bedf92bfb

View File

@ -1779,6 +1779,7 @@ begin
DoLog(SLogParsedNDefinitions, [FContext.FTypeMap.Count]);
finally
Context.PopScope(SourceElements,Fwds);
Fwds.Free;
end;
if Assigned(TypeAliases) then
FContext.AddAliases(TypeAliases);