I think TcomponentList is inherited from TObjectList so the list members should be freed when the components are? I've never used either but the help file reads that way.
So short answer is you probably don't need to clear the list.
Yeah, the key statement being :
"TComponentList controls the memory of its components; unless the OwnsObjects property is set to False"
and for OwnsObjects:
"calling Clear frees all the objects in the list in addition to emptying the list."
Also, when you are creating components at runtime, you need to set the owner to nil if you're freeing them yourself (TdirMonitor.create(nil)), or if you do use another component (ie the form) then you don't free them.
cheers, Kurt.
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/