소스 검색

* fixed memory leak in dosimplify

git-svn-id: trunk@6825 -
Jonas Maebe 18 년 전
부모
커밋
9d6026827d
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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;