mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
release jni memory
This commit is contained in:
parent
bd4e832cf3
commit
db10c87b89
3 changed files with 15 additions and 7 deletions
|
@ -31,6 +31,7 @@ JNIEXPORT void JNICALL Java_ui_activity_GameActivity_getPathToJni(JNIEnv *env, j
|
|||
{
|
||||
jboolean iscopy;
|
||||
Buffer::setData((env)->GetStringUTFChars(prompt, &iscopy));
|
||||
(env)->DeleteLocalRef(prompt);
|
||||
}
|
||||
|
||||
namespace
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue