Selaa lähdekoodia

* fixed memory leak in dosimplify

git-svn-id: trunk@6825 -
Jonas Maebe 18 vuotta sitten
vanhempi
commit
9d6026827d
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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;