X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/c18c124eaa464aaaa5549e99e5a70fc9cbb50944..3e170ce000f1506b7b5d2c5c7faec85ceabb573d:/bsd/uxkern/ux_exception.c?ds=sidebyside diff --git a/bsd/uxkern/ux_exception.c b/bsd/uxkern/ux_exception.c index c3313018c..795a40808 100644 --- a/bsd/uxkern/ux_exception.c +++ b/bsd/uxkern/ux_exception.c @@ -76,8 +76,7 @@ extern mach_msg_return_t mach_msg_send(mach_msg_header_t *msg, mach_msg_option_t option, mach_msg_size_t send_size, mach_msg_timeout_t send_timeout, mach_port_name_t notify); extern thread_t convert_port_to_thread(ipc_port_t port); -extern void ipc_port_release(ipc_port_t); - +extern void ipc_port_release_send(ipc_port_t port); @@ -256,7 +255,7 @@ catch_mach_exception_raise( (void *) &thread_port) == MACH_MSG_SUCCESS)) { if (IPC_PORT_VALID(thread_port)) { th_act = convert_port_to_thread(thread_port); - ipc_port_release(thread_port); + ipc_port_release_send(thread_port); } else { th_act = THREAD_NULL; }