mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-23 05:49:36 +02:00
* Avoid AV at finalization
git-svn-id: trunk@9320 -
This commit is contained in:
parent
12439de612
commit
17e0cf0fa4
@ -483,7 +483,7 @@ Const
|
||||
---------------------------------------------------------------------}
|
||||
|
||||
Var
|
||||
DDEngines : TStringList;
|
||||
DDEngines : TStringList = nil;
|
||||
|
||||
Type
|
||||
|
||||
@ -1933,6 +1933,6 @@ end;
|
||||
initialization
|
||||
|
||||
finalization
|
||||
FreeAndNil(DDEngines);
|
||||
if assigned(DDEngines) then FreeAndNil(DDEngines);
|
||||
end.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user