Преглед на файлове

* Prevent double release of a temp.

Yuriy Sydorov преди 4 години
родител
ревизия
5920d169c0
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      compiler/x86/nx86cnv.pas

+ 1 - 1
compiler/x86/nx86cnv.pas

@@ -451,8 +451,8 @@ implementation
             end;
             tcgx86(cg).inc_fpu_stack;
             location.register:=NR_ST;
+            tg.ungetiftemp(current_asmdata.CurrAsmList,leftref);
           end;
-        location_freetemp(current_asmdata.CurrAsmList,left.location);
       end;
 
 begin