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:
Thomas Martitz 2010-11-06 01:45:21 +00:00
parent 739d76cfda
commit 919651a5e1

View file

@ -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 */
}