Interesting. Well I am using classes with string properties and I thought 
the destructor of the AnsiString class cleans up the memory before releasing 
it.

Thank you for your time,

SZ

----- Original Message ----- 
From: "Dod" <[EMAIL PROTECTED]>
To: "ICS support mailing" <twsocket@elists.org>
Sent: Tuesday, March 21, 2006 11:23 AM
Subject: Re: [twsocket] Server problem (leaking memory)


> Hello,
>
> I  don't  know  if  it  as  something  to  do  but  if you use records
> containing  strings,  always  think  to  mystring:='' before releasing
> record  memory  space  because  if  you  free  the  record, the string
> allocation done inside will be kept.
>
> regards.
>
> -- 
> 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 

-- 
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