You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 6, 2025. It is now read-only.
Description
In setNativeEnvironmentVariable() native implementation, Strings are converted to C from Java, but not released
Expected behavior
Every call to GetStringUTFChars() must be finalized with a corresponding call to ReleaseStringUTFChars().
Current behavior
There seems to be no noticeable effect right now, but future hardening of the JVM or NDK may cause a problem here. Or, calling this method thousands and thousands of times could cause some visible memory leak.