We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
> rg ReleaseStringUTFChars | cut -f1 -d: | uniq -c | sort -n 1 examples/tv-app/android/java/AppPlatformShellCommands-JNI.cpp 1 src/lib/support/JniTypeWrappers.h 2 src/controller/java/AndroidDeviceControllerWrapper.cpp 2 src/setup_payload/java/SetupPayloadParser-JNI.cpp 7 examples/tv-casting-app/android/App/app/src/main/jni/cpp/TvCastingApp-JNI.cpp > rg GetStringUTFChars | cut -f1 -d: | uniq -c | sort -n 1 examples/tv-app/android/java/AppPlatformShellCommands-JNI.cpp 1 examples/tv-app/android/java/ContentAppAttributeDelegate.cpp 1 examples/tv-app/android/java/ContentAppCommandDelegate.cpp 1 src/lib/support/JniTypeWrappers.h 2 src/controller/java/AndroidDeviceControllerWrapper.cpp 2 src/setup_payload/java/SetupPayloadParser-JNI.cpp 5 examples/tv-casting-app/android/App/app/src/main/jni/cpp/ConversionUtils.cpp 8 examples/tv-casting-app/android/App/app/src/main/jni/cpp/TvCastingApp-JNI.cpp
java
#23655 fixes one such instance. We likely want some form of RAII here to ensure we always release UTF char strings.
The text was updated successfully, but these errors were encountered:
chip::JniUtfString exists in https://github.com/project-chip/connectedhomeip/blob/master/src/lib/support/JniTypeWrappers.h
We should probably use that and ban direct usage of GetStringUTFChars via linting rules in all other places.
Sorry, something went wrong.
No branches or pull requests
Reproduction steps
Platform
java
Anything else?
#23655 fixes one such instance. We likely want some form of RAII here to ensure we always release UTF char strings.
The text was updated successfully, but these errors were encountered: