mirror of https://github.com/kivy/pyjnius.git
make sure that GetObjectArrayElement are freed.
This commit is contained in:
parent
54097ccacb
commit
8541c489ff
|
@ -114,6 +114,7 @@ cdef jobject py_invoke0(JNIEnv *j_env, jobject j_this, jobject j_proxy, jobject
|
|||
arg_signature = convert_signature.get(arg_signature, arg_signature)
|
||||
j_arg = j_env[0].GetObjectArrayElement(j_env, args, index)
|
||||
py_arg = convert_jobject_to_python(j_env, arg_signature, j_arg)
|
||||
j_env[0].DeleteLocalRef(j_env, j_arg)
|
||||
py_args.append(py_arg)
|
||||
|
||||
# really invoke the python method
|
||||
|
|
Loading…
Reference in New Issue