Skip to content

android: ndk_utils::get_utf_str!() macro leaks memory. Free the string after use#539

Merged
not-fl3 merged 1 commit intonot-fl3:masterfrom
narodnik:master
Apr 9, 2025
Merged

android: ndk_utils::get_utf_str!() macro leaks memory. Free the string after use#539
not-fl3 merged 1 commit intonot-fl3:masterfrom
narodnik:master

Conversation

@narodnik
Copy link
Copy Markdown
Contributor

@narodnik narodnik commented Apr 9, 2025

According to JNI docs, UTF8 strings must be released.

Also plz merge not-fl3/cargo-quad-apk#10 when you get a chance

@not-fl3 not-fl3 merged commit 0472517 into not-fl3:master Apr 9, 2025
11 checks passed
@not-fl3
Copy link
Copy Markdown
Owner

not-fl3 commented Apr 9, 2025

Merged both! Do you want me to publish it on crates/docker?

@narodnik
Copy link
Copy Markdown
Contributor Author

No worries, I use git master ;) ty

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