pastojs: fixed mem leak with specializations

This commit is contained in:
mattias 2022-06-09 12:06:36 +02:00
parent 3f2e2ad0fa
commit a6be7fc1c2

View File

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