Explorar o código

fcl-js: fixed mem leak

mattias %!s(int64=3) %!d(string=hai) anos
pai
achega
5bedf92bfb
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      packages/fcl-js/src/tstopas.pp

+ 1 - 0
packages/fcl-js/src/tstopas.pp

@@ -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);