Explorar o código

* fixed memory leak

git-svn-id: branches/jvmbackend@18595 -
Jonas Maebe %!s(int64=14) %!d(string=hai) anos
pai
achega
d0a3b49e6c
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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.