mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 11:09:42 +02:00
pastojs: fixed mem leak with specializations
This commit is contained in:
parent
3f2e2ad0fa
commit
a6be7fc1c2
@ -16183,6 +16183,7 @@ begin
|
||||
Result:=Call;
|
||||
finally
|
||||
FuncContext.Free;
|
||||
DelayFuncContext.Free;
|
||||
if Result<>Call then
|
||||
Call.Free;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user