Преглед изворни кода

* fixed memory leak in the general exporter class. (the -settings were not freed) mantis 15934

git-svn-id: trunk@14996 -
marco пре 15 година
родитељ
комит
dab931c3ba
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      packages/fcl-db/src/export/fpdbexport.pp

+ 1 - 0
packages/fcl-db/src/export/fpdbexport.pp

@@ -676,6 +676,7 @@ end;
 destructor TCustomDatasetExporter.Destroy;
 begin
   FreeAndNil(FExportFields);
+  FreeAndNil(FFormatSettings);
   inherited Destroy;
 end;