From 415ef1d8c24bfa28fa613e3acb74462d456b3207 Mon Sep 17 00:00:00 2001 From: Ansgar Becker Date: Thu, 15 Nov 2007 17:51:24 +0000 Subject: [PATCH] Fix bug #1832418 "access violation. no import" --- source/loaddata.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/loaddata.pas b/source/loaddata.pas index b1679167..3cec8f08 100644 --- a/source/loaddata.pas +++ b/source/loaddata.pas @@ -145,8 +145,8 @@ begin chkReplace.Checked := reg.ReadBool('CSVImportReplace'); if reg.ValueExists('CSVImportIgnore') then chkIgnore.Checked := reg.ReadBool('CSVImportIgnore'); - Free; end; + FreeAndNil(reg); end;