modified: src/main.rs
Some checks failed
gitea/Frida-android-native/pipeline/head There was a failure building this commit

This commit is contained in:
Michael Wain 2024-10-07 03:14:24 +03:00
parent c12d13c16b
commit 289b1fa50a

View File

@ -37,7 +37,7 @@ pub unsafe extern "C" fn Java_com_alterdekim_frida_FridaLib_fetchLogs(
mut env: JNIEnv,
_clazz: JClass
) -> jstring {
String::from_utf8_lossy(&simple_log::fetch_logs()[..]).to_string()
env.new_string(String::from_utf8_lossy(&simple_log::fetch_logs()[..]).to_string()).unwrap()
}
#[no_mangle]