[Android] medialibray: Fix JNI leaks: remove unnecessary NewGlobalRef

Thomas Guillem git at videolan.org
Mon Nov 14 19:21:34 CET 2016


vlc-android | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Nov 14 19:18:26 2016 +0100| [198a31f85f6ba001c3dbc6aee53d55658b4d7963] | committer: Thomas Guillem

medialibray: Fix JNI leaks: remove unnecessary NewGlobalRef

These global refs were lost each time an object was created.

> https://code.videolan.org/videolan/vlc-android/commit/198a31f85f6ba001c3dbc6aee53d55658b4d7963
---

 medialibrary/jni/medialibrary.cpp | 28 ++++++++++++++--------------
 medialibrary/jni/utils.cpp        | 16 ++++++++--------
 2 files changed, 22 insertions(+), 22 deletions(-)

Diff:   https://code.videolan.org/videolan/vlc-android/commit/198a31f85f6ba001c3dbc6aee53d55658b4d7963


More information about the Android mailing list