Skip to content
Snippets Groups Projects

jni: fix invalid ReleaseStringUTFChars() call

Merged Thomas Guillem requested to merge tguillem/vlc-android:record-fix into master

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.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
Please register or sign in to reply
Loading