Selaa lähdekoodia

* fixed memory leak

git-svn-id: branches/jvmbackend@18595 -
Jonas Maebe 14 vuotta sitten
vanhempi
commit
d0a3b49e6c
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      compiler/jvm/rgcpu.pas

+ 1 - 0
compiler/jvm/rgcpu.pas

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