mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2026-01-04 03:50:30 +01:00
* avoid memory leak for copy of withnode in tempnodes
git-svn-id: trunk@6067 -
This commit is contained in:
parent
8132e2c5d0
commit
d5e4828f6f
@ -1015,6 +1015,10 @@ implementation
|
||||
|
||||
destructor ttempdeletenode.destroy;
|
||||
begin
|
||||
if assigned(tempinfo^.withnode) then
|
||||
begin
|
||||
tempinfo^.withnode.free;
|
||||
end;
|
||||
dispose(tempinfo);
|
||||
end;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user