Hi

It seems that there is a memory leak in SmtpProt:
When sending an email and using MailMessage for including the
text of the mail, the text is compared with an empty string with
the GetText method of TStrings. This method creates a copy of
the MailMessage TStrings which is not freed again:

     {if Length(FMailMessage.Text) > 0 then} { FP 05/03/06 }
     if FMailMessage.GetText^ <> #0 then
         FMailMsgTextPos := 1
     else
         FMailMsgTextPos := 0;

As you can Francois has already included a Fix. Why is this fix
only a comment?

        Veit

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to