Sfoglia il codice sorgente

* fixed memory leak

git-svn-id: branches/jvmbackend@18595 -
Jonas Maebe 14 anni fa
parent
commit
d0a3b49e6c
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      compiler/jvm/rgcpu.pas

+ 1 - 0
compiler/jvm/rgcpu.pas

@@ -352,6 +352,7 @@ implementation
           end;
         freemem(spill_temps[R_INTREGISTER]);
         freemem(spill_temps[R_FPUREGISTER]);
+        templist.free;
       end;
 
 end.