summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--proc/ChangeLog3
-rw-r--r--proc/mgt.c1
2 files changed, 4 insertions, 0 deletions
diff --git a/proc/ChangeLog b/proc/ChangeLog
index 68831928..4e2613fd 100644
--- a/proc/ChangeLog
+++ b/proc/ChangeLog
@@ -1,5 +1,8 @@
Thu Jul 18 13:23:51 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
+ * mgt.c (S_proc_handle_exceptions): Release newly created referenc
+ on E when we are done with it.
+
* main.c (main): Don't wire proc anymore. It's not necessary or
useful.
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;
}