Explorar o código

* Fixed a memory leak when div is replaced by shift.

git-svn-id: trunk@35540 -
yury %!s(int64=8) %!d(string=hai) anos
pai
achega
0f9876effb
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      compiler/nmat.pas

+ 1 - 0
compiler/nmat.pas

@@ -547,6 +547,7 @@ implementation
                     addstatement(statements,ctempdeletenode.create(temp));
                     addstatement(statements,ctempdeletenode.create_normal_temp(resulttemp));
                     addstatement(statements,ctemprefnode.create(resulttemp));
+                    right.Free;
                   end
                 else
                   begin