Re: [twsocket] Memory Leak in SmtpProt

2007-02-14 Thread Arno Garrels
Veit, You are not using latest Beta downloads. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Veit Zimmermann wrote: 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

Re: [twsocket] Memory Leak in SmtpProt

2007-02-14 Thread Veit Zimmermann
Arno, That might be true. By the way: Wouldn't the following be sufficient? It should be much faster: if FMailMessage.Count 0 then When will the next beta come out? Is there a time line? I know Francois is busy. Is he controlling releases alone or are others (like you) helping him on

Re: [twsocket] Memory Leak in SmtpProt

2007-02-14 Thread Arno Garrels
Veit Zimmermann wrote: Arno, That might be true. By the way: Wouldn't the following be sufficient? It should be much faster: if FMailMessage.Count 0 then Yes, please have a look at latest SmtpProt.pas, FMailMsg.Text is now copied once to a string variable named FMailMsgText. Message

[twsocket] Memory Leak in SmtpProt

2007-02-13 Thread Veit Zimmermann
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: