• Thomas Guillem's avatar
    jni: fix invalid ReleaseStringUTFChars() call · d371e43f
    Thomas Guillem authored
    This function must only be used to release a java string returned by
    GetStringUTFChars().
    
    Strings allocated via NewStringUTF() must not be released, only the local ref
    should (it will be released by the garbage collector once it's not referenced
    anymore).
    
    This fixes a major memory corruption leading to various incoherent crashes.
    d371e43f
Name
Last commit
Last update
..
Android.mk Loading commit data...
dummy.cpp Loading commit data...
egl-android-info.txt Loading commit data...
libvlcjni-dialog.c Loading commit data...
libvlcjni-media.c Loading commit data...
libvlcjni-mediadiscoverer.c Loading commit data...
libvlcjni-medialist.c Loading commit data...
libvlcjni-mediaplayer.c Loading commit data...
libvlcjni-rendererdiscoverer.c Loading commit data...
libvlcjni-vlcobject.c Loading commit data...
libvlcjni-vlcobject.h Loading commit data...
libvlcjni.c Loading commit data...
log.h Loading commit data...
std_logger.c Loading commit data...
std_logger.h Loading commit data...
thumbnailer.c Loading commit data...
utils.h Loading commit data...