mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-03 12:49:26 +01:00
* Fixed access violation
git-svn-id: trunk@10644 -
This commit is contained in:
parent
76e23fc54e
commit
d8fdb83aa2
@ -608,8 +608,9 @@ begin
|
||||
try
|
||||
Component.GetChildren(@WriteComponent, FRoot);
|
||||
Finally
|
||||
For I:=0 to FAncestors.Count-1 do
|
||||
FAncestors.Objects[i].Free;
|
||||
If Assigned(Fancestors) then
|
||||
For I:=0 to FAncestors.Count-1 do
|
||||
FAncestors.Objects[i].Free;
|
||||
FreeAndNil(FAncestors);
|
||||
end;
|
||||
finally
|
||||
|
||||
Loading…
Reference in New Issue
Block a user