No need to deallocate the send right. We always "make-send" in flight via MIG.
--- trunk/launchd/src/launchd_core_logic.c 2006-11-16 21:33:30 UTC (rev 22954)
+++ trunk/launchd/src/launchd_core_logic.c 2006-11-16 22:14:13 UTC (rev 22955)
@@ -604,7 +604,6 @@
}
if (j->j_port) {
- job_assumes(j, launchd_mport_deallocate(j->j_port) == KERN_SUCCESS);
job_assumes(j, launchd_mport_close_recv(j->j_port) == KERN_SUCCESS);
}