Is this a mem leak?

BlitzMax Forums/BlitzMax Beginners Area/Is this a mem leak?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Local stream:SocketStream = CreateSocketStream(socket)
stream.WriteString(some_string)


surely this will create a Cstring and send it as well? The underlying socket representation requires a pointer - and I can't imagine the string type giving out a pointer to it's internals which could allow the string to be corrupted.

Maybe someone can answer this and save me from looking through the source (of which the C++ stuff usually goes over my head ;)