Is this a mem leak?

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

Well, just looked up TStream.WriteString.

It simply creates a new variable, calls String.ToCString, and then memfree's the temporary byte pointer.