mirror of
https://github.com/jkcoxson/idevice.git
synced 2026-03-02 14:36:16 +01:00
Debug log freeing core_device_proxy typo
This commit is contained in:
@@ -376,7 +376,7 @@ pub unsafe extern "C" fn core_device_proxy_create_tcp_adapter(
|
|||||||
#[unsafe(no_mangle)]
|
#[unsafe(no_mangle)]
|
||||||
pub unsafe extern "C" fn core_device_proxy_free(handle: *mut CoreDeviceProxyHandle) {
|
pub unsafe extern "C" fn core_device_proxy_free(handle: *mut CoreDeviceProxyHandle) {
|
||||||
if !handle.is_null() {
|
if !handle.is_null() {
|
||||||
log::debug!("Freeing core_deivce_proxy");
|
log::debug!("Freeing core_device_proxy");
|
||||||
let _ = unsafe { Box::from_raw(handle) };
|
let _ = unsafe { Box::from_raw(handle) };
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user