jni: release string characters in conversion to Go string #14
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "whereswaldon/jni:waldon-13-fix-buf-leak"
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?
This change should fix #13 by releasing the string buffer from the JVM after we
convert the string to a Go string. However, I've been having a lot of trouble
building the tests on Linux, and I've run out of time to keep messing with it.
I'm posting this patch in the hope that someone else is better positioned to
validate it. Please do not merge this unless you can verify that it works
properly.
Signed-off-by: Chris Waldon christopher.waldon.dev@gmail.com
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Gitea.