jni: release string characters in conversion to Go string #14

Open
whereswaldon wants to merge 1 commits from whereswaldon/jni:waldon-13-fix-buf-leak into master

1 Commits

Author SHA1 Message Date
511df960e4 jni: release string characters in conversion to Go string
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>
2025-12-30 09:43:33 -05:00