mirror of
https://github.com/jkcoxson/idevice.git
synced 2026-03-02 14:36:16 +01:00
Convert plist array into boxed slice for installation_proxy get_apps FFI
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user