소스 검색

* call inherited Destroy in TAsmOptimizer to avoid memory leak

git-svn-id: trunk@21706 -
florian 13 년 전
부모
커밋
117c083003
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      compiler/aopt.pas

+ 2 - 1
compiler/aopt.pas

@@ -298,7 +298,8 @@ Unit aopt;
       Begin
         if assigned(LabelInfo^.LabelTable) then
           Freemem(LabelInfo^.LabelTable);
-        Dispose(LabelInfo)
+        Dispose(LabelInfo);
+        inherited Destroy;
       End;