]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/kern/syscall_subr.c
xnu-2050.24.15.tar.gz
[apple/xnu.git] / osfmk / kern / syscall_subr.c
index 3b1f0edafef601456c8d481ccd57432361b731cd..89fc63b1bda826058287590789a518a0165d84bd 100644 (file)
@@ -254,7 +254,7 @@ thread_switch(
                        ip_unlock(port);
 
                        thread = convert_port_to_thread(port);
-                       ipc_port_release(port);
+                       ip_release(port);
 
                        if (thread == self) {
                                (void)thread_deallocate_internal(thread);