rtti controls: clean up

git-svn-id: trunk@11816 -
This commit is contained in:
mattias 2007-08-14 18:17:12 +00:00
parent a03409e87a
commit cede6cfe89

View File

@ -397,7 +397,7 @@ begin
if RegisteredTIGridControls=nil then exit;
for i:=0 to RegisteredTIGridControls.Count-1 do
TObject(RegisteredTIGridControls[i]).Free;
RegisteredTIGridControls.Free;
FreeAndNil(RegisteredTIGridControls);
end;
procedure Register;