Ver código fonte

* Hopefully Fixed local memory leak in TReader.FixupReferences

git-svn-id: trunk@10583 -
michael 17 anos atrás
pai
commit
1427c70b14
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      rtl/objpas/classes/reader.inc

+ 1 - 1
rtl/objpas/classes/reader.inc

@@ -660,7 +660,7 @@ begin
           G.Addreference(R.FRoot,R.FPropInfo,Copy(R.FRelative,1,P-1),Copy(R.FRelative,P+1,Length(R.FRelative)-P));
           end;
         end;
-      L.RemoveItem(R);
+      L.RemoveItem(R,True);
       R:=RN;
       end;
     FreeAndNil(FFixups);