Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve how NDK payload is freed #1142

Merged
merged 1 commit into from
Feb 16, 2021
Merged

Conversation

fractalwrench
Copy link
Contributor

Goal

Ensures that JNI_COMMIT is always used when calling ReleaseByteArrayElements, and that any variables allocated via malloc/new are freed manually. This is preferable to the default mode which calls delete [] on elems, leading to undesirable behaviour.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants