mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 23:19:24 +02:00
* cleanup captured symbols when moving them from the nested function to the new method
This commit is contained in:
parent
960c154f48
commit
965bba5ab4
@ -1081,6 +1081,7 @@ implementation
|
||||
begin
|
||||
captured:=pcapturedsyminfo(capturesyms[i]);
|
||||
pi.add_captured_sym(captured^.sym,captured^.fileinfo);
|
||||
dispose(captured);
|
||||
end;
|
||||
capturesyms.clear;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user