* Bugfix: plug the most obvious memory leaks.

* Clear some unused code and wrong comments.
This commit is contained in:
rosenfield
2007-11-09 09:51:31 +00:00
parent 51c23000f9
commit e7bcbdf293
23 changed files with 204 additions and 56 deletions

View File

@@ -145,8 +145,8 @@ begin
chkReplace.Checked := reg.ReadBool('CSVImportReplace');
if reg.ValueExists('CSVImportIgnore') then
chkIgnore.Checked := reg.ReadBool('CSVImportIgnore');
Free;
end;
end;
@@ -186,6 +186,8 @@ begin
chklistColumns.Items.Add(ds.Fields[0].AsString);
ds.Next;
end;
ds.Close;
FreeAndNil(ds);
end;
// select all:
@@ -230,6 +232,7 @@ begin
reg.WriteBool( 'CSVImportReplace', chkReplace.Checked );
reg.WriteBool( 'CSVImportIgnore', chkIgnore.Checked );
end;
FreeAndNil(reg);
query := 'LOAD DATA ';