Skip to content
This repository was archived by the owner on Aug 5, 2021. It is now read-only.

Commit e1de734

Browse files
committed
logged change #120
1 parent e494159 commit e1de734

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ This version includes a number of contributions from supportive GitHub users. Th
1010
Fixes
1111
-----
1212

13+
* Corrected Java reference count of complex PyObject passed back and forth to methods (issue #120). Fix by sbarnoud.
1314
* Fixed problem where default methods on Java 8 Interfaces were not found (issue #102). Fix by Charles P. Wright.
1415
* Fixed error caused by missing `sys.argv` in Python when called from Java (issue #81). Fix by Dave Voutila.
1516
* Fixed problem where calling jpy.get_type() too many times causes a memory access error (issue #74). Fix by Dave Voutila.

src/main/c/jni/org_jpy_PyLib.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -937,7 +937,7 @@ PyObject* PyLib_CallAndReturnObject(JNIEnv *jenv, PyObject* pyObject, jboolean i
937937
if (paramType->componentType == NULL && paramType == JPy_JPyObject) {
938938
Py_INCREF(pyArg);
939939
}
940-
940+
941941
(*jenv)->DeleteLocalRef(jenv, jParamClass);
942942
} else {
943943
pyArg = JPy_FromJObject(jenv, jArg);

0 commit comments

Comments
 (0)