Browse Source

* also free the regular code generator when freeing the hl code generator

git-svn-id: branches/jvmbackend@18600 -
Jonas Maebe 14 years ago
parent
commit
16cb75a5da
1 changed files with 1 additions and 0 deletions
  1. 1 0
      compiler/hlcgobj.pas

+ 1 - 0
compiler/hlcgobj.pas

@@ -520,6 +520,7 @@ implementation
       begin
       begin
         hlcg.free;
         hlcg.free;
         hlcg:=nil;
         hlcg:=nil;
+        destroy_codegen;
       end;
       end;
 
 
   { thlcgobj }
   { thlcgobj }