mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-01 11:51:01 +02:00
fcl-js: fixed mem leak
This commit is contained in:
parent
ad971df05a
commit
5bedf92bfb
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user