Is this a mem leak?

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


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


Thats why you use a stream and WriteString, it handles memory management for you.