Those DeleteGlobalRef() should be DeleteLocalRef().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28516 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
739d76cfda
commit
919651a5e1
1 changed files with 3 additions and 3 deletions
|
@ -103,9 +103,9 @@ int kbd_input(char* text, int buflen)
|
|||
e->ReleaseStringUTFChars(env_ptr, new_string, utf8_string);
|
||||
e->DeleteGlobalRef(env_ptr, new_string);
|
||||
}
|
||||
e->DeleteGlobalRef(env_ptr, str);
|
||||
e->DeleteGlobalRef(env_ptr, ok_text);
|
||||
e->DeleteGlobalRef(env_ptr, cancel_text);
|
||||
e->DeleteLocalRef(env_ptr, str);
|
||||
e->DeleteLocalRef(env_ptr, ok_text);
|
||||
e->DeleteLocalRef(env_ptr, cancel_text);
|
||||
|
||||
return !accepted; /* return 0 on success */
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue