GoString doesn't release java characters
#13
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The implementation here does not release the JNI characters after converting them to Go, which leaks the object on the JVM side.
We can see that in the spec the returned character buffer is valid until a call to ReleaseStringChars.