Commit 4ee3ebc3 authored by Ludovic Fauvet's avatar Ludovic Fauvet
Browse files

thumbnailer: variable use after deletion

Catched by CheckJNI running on Android 4.0 and later.
parent de41c9b0
......@@ -246,8 +246,6 @@ jbyteArray Java_org_videolan_vlc_LibVLC_getThumbnail(JNIEnv *env, jobject thiz,
(*env)->SetByteArrayRegion(env, byteArray, 0, thumbnailSize,
(jbyte *)sys->thumbnail);
(*env)->DeleteLocalRef(env, byteArray);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment