Re: Help with a memory leak



Ok I have changed it to
MailClient := Tmailthread.Create(True);
MailClient.FreeOnTerminate := True;
MailClient.Resume;

but still loosing memory each time. Out of interest, I have one of the
indy antifreeze components on the main vcl form as in the help it says
you only need one per application. Might that have anything to do with
it?

.