Explorar el Código

* fixed memory leak in dosimplify

git-svn-id: trunk@6825 -
Jonas Maebe hace 18 años
padre
commit
9d6026827d
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      compiler/nutils.pas

+ 1 - 0
compiler/nutils.pas

@@ -682,6 +682,7 @@ implementation
         if assigned(hn) then
           begin
             treechanged:=true;
+            n.free;
             n:=hn;
             typecheckpass(n);
           end;