diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-08-11 18:44:26 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-08-11 18:44:26 +0200 |
commit | 849353cad0ad2b0a2242d7048368e06d96ffdea4 (patch) | |
tree | b96ea4d8f293ca6201e8de0f170286a43fb3e806 /proc | |
parent | 6d24bbbe8fb2e686516fd867e8bb7b8a07950891 (diff) |
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.
Diffstat (limited to 'proc')
-rw-r--r-- | proc/mgt.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } } |