[DUG] FreeAndNil

2011-04-19 Thread Ross Levis
I seem to have problems using FreeAndNil under D7. Using it with a TidFTP component that has been created manually, doing this causes an access violation. FreeAndNil(FTP); I had to change it to. FTP.Free; FTP := nil; Any ideas why this is? Ross. ___

Re: [DUG] FreeAndNil

2011-04-19 Thread Jeremy North
Luck. You have bigger problems. On 20/04/2011 1:58 PM, "Ross Levis" wrote: > I seem to have problems using FreeAndNil under D7. > > > > Using it with a TidFTP component that has been created manually, doing this > causes an access violation. > > > > FreeAndNil(FTP); > > > > I had to change it to.