mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-11 22:46:01 +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^.tempinitcode.free;
|
||||
dispose(tempinfo);
|
||||
inherited destroy;
|
||||
end;
|
||||
|
||||
procedure ttempdeletenode.printnodedata(var t:text);
|
||||
|
Loading…
Reference in New Issue
Block a user