From 849353cad0ad2b0a2242d7048368e06d96ffdea4 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Thu, 11 Aug 2011 18:44:26 +0200 Subject: Fix spurious port deallocation * proc/mgt.c (S_proc_exception_raise): On proc_exception_raise forwarding error, return MIG_NO_REPLY instead of 0, since the reply port may have been consumed, and the task is being terminated anyway. --- proc/mgt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proc/mgt.c b/proc/mgt.c index 5373d101..1180c700 100644 --- a/proc/mgt.c +++ b/proc/mgt.c @@ -499,7 +499,7 @@ S_proc_exception_raise (mach_port_t excport, mach_port_destroy (mach_task_self (), thread); - return 0; + return MIG_NO_REPLY; } } -- cgit v1.2.3