Browse Source

pastojs: fixed mem leak with specializations

mattias 3 years ago
parent
commit
a6be7fc1c2
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/pastojs/src/fppas2js.pp

+ 1 - 0
packages/pastojs/src/fppas2js.pp

@@ -16183,6 +16183,7 @@ begin
     Result:=Call;
   finally
     FuncContext.Free;
+    DelayFuncContext.Free;
     if Result<>Call then
       Call.Free;
   end;