Convert plist array into boxed slice for installation_proxy get_apps FFI

This commit is contained in:
Jackson Coxson
2025-12-13 10:32:34 -07:00
parent 9e8abb7d37
commit d2375e8f5c

View File

@@ -145,7 +145,8 @@ pub unsafe extern "C" fn installation_proxy_get_apps(
});
match res {
Ok(mut r) => {
Ok(r) => {
let mut r = r.into_boxed_slice();
let ptr = r.as_mut_ptr();
let len = r.len();
std::mem::forget(r);