mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-13 09:39:09 +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
|
Var
|
||||||
DDEngines : TStringList;
|
DDEngines : TStringList = nil;
|
||||||
|
|
||||||
Type
|
Type
|
||||||
|
|
||||||
@ -1933,6 +1933,6 @@ end;
|
|||||||
initialization
|
initialization
|
||||||
|
|
||||||
finalization
|
finalization
|
||||||
FreeAndNil(DDEngines);
|
if assigned(DDEngines) then FreeAndNil(DDEngines);
|
||||||
end.
|
end.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user