Prechádzať zdrojové kódy

* Reverted r11519, this patch depends on other patches which are not merged yet, resulting in a guaranteed AV while destroying TBufDatasets

git-svn-id: branches/fixes_2_2@11622 -
joost 17 rokov pred
rodič
commit
4b94d31284
1 zmenil súbory, kde vykonal 0 pridanie a 9 odobranie
  1. 0 9
      packages/fcl-db/src/base/bufdataset.pas

+ 0 - 9
packages/fcl-db/src/base/bufdataset.pas

@@ -398,16 +398,7 @@ begin
 end;
 
 destructor TBufDataset.Destroy;
-
-Var
-  I : Integer;
 begin
-  SetLength(FUpdateBuffer,0);
-  SetLength(FBlobBuffers,0);
-  SetLength(FUpdateBlobBuffers,0);
-  For I:=0 to Length(FIndexes)-1 do
-    FreeAndNil(Findexes[I]);
-  SetLength(FIndexes,0);
   FreeAndNil(FIndexDefs);
   inherited destroy;
 end;