summaryrefslogtreecommitdiff
path: root/proc/mgt.c
diff options
context:
space:
mode:
Diffstat (limited to 'proc/mgt.c')
-rw-r--r--proc/mgt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/proc/mgt.c b/proc/mgt.c
index d0aba0cf..4b942597 100644
--- a/proc/mgt.c
+++ b/proc/mgt.c
@@ -382,6 +382,7 @@ S_proc_handle_exceptions (struct proc *p,
e->flavor = flavor;
e->statecnt = statecnt;
bcopy (new_state, e->thread_state, statecnt * sizeof (natural_t));
+ ports_port_deref (e);
return 0;
}