Quellcode durchsuchen

* 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 -
svenbarth vor 7 Jahren
Ursprung
Commit
0ba14c7ad8
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      compiler/nbas.pas

+ 1 - 0
compiler/nbas.pas

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