* 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:
svenbarth 2018-08-03 20:24:05 +00:00
parent ddbad9d5c7
commit 0ba14c7ad8

View File

@ -1342,6 +1342,7 @@ implementation
tempinfo^.withnode.free;
tempinfo^.tempinitcode.free;
dispose(tempinfo);
inherited destroy;
end;
procedure ttempdeletenode.printnodedata(var t:text);