originell/jpype — pull request #49 by marscher (2014-02-19 14:34:27+00:00)
Title: Fix memleak primitive array setters

The setters used a jni release mode, which does not free the temporary buffer val. The zero mode has the same behaviour, but frees the buffer.
See https://developer.android.com/training/articles/perf-jni.html (search for JNI_COMMIT)