mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 14:09:20 +02:00
* fix memory leak when freeing a temp delete node: also call the inherited destructor so that e.g. tnode.optinfo is freed.
git-svn-id: trunk@39558 -
This commit is contained in:
parent
ddbad9d5c7
commit
0ba14c7ad8
@ -1342,6 +1342,7 @@ implementation
|
|||||||
tempinfo^.withnode.free;
|
tempinfo^.withnode.free;
|
||||||
tempinfo^.tempinitcode.free;
|
tempinfo^.tempinitcode.free;
|
||||||
dispose(tempinfo);
|
dispose(tempinfo);
|
||||||
|
inherited destroy;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure ttempdeletenode.printnodedata(var t:text);
|
procedure ttempdeletenode.printnodedata(var t:text);
|
||||||
|
Loading…
Reference in New Issue
Block a user