Is this a mem leak?

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

.ToCString() doesn't simply pass a pointer to the first byte of the string though does it?

I thought it created a new byte array initialized with the data from the string + a null character, and then returned the pointer to that. If this is the case, how would I ever be able to free this new temporary byte array?