NewStringUTF and releasing
843829Jun 27 2002 — edited Jun 30 2002Hello,
In the documentation that i found, you use the ReleaseStringUTFChars when you use GetStringUTFChars. My question is, do i need to do something similar with NewStringUTF? If i use ReleaseStringUTFChars correctly on something i created w/ NewStringUTF, my program crashes.
I really need to avoid memory leaks here and just want to make sure that allocated memory is freed as soon as possible.
Thanks :)
txjump