Browse Source

* fixed memory leak in dosimplify

git-svn-id: trunk@6825 -
Jonas Maebe 18 năm trước cách đây
mục cha
commit
9d6026827d
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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;