Thanks :)
I will check it out.

-daniel

-----Original Message----- From: Francois PIETTE
Sent: Friday, July 01, 2011 11:47 AM
To: ICS support mailing
Subject: Re: [twsocket] Memory leak in ICS Client socket

I am using TSSLWSocket and I would like to know why I get memory leak error while using the following at the “OnFormCreate”,

RecStream := TMemoryStream.Create;

Any ideas about what am I doin wrong?

At first, this is not related to ICS: If you create a memory stream or any
other object, then you must destroy it at some later point calling his Free
method or preferably using FreeAndNil(RecStream).

--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be

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

Reply via email to