diff options
Diffstat (limited to 'sys/netnatm/natm.c')
-rw-r--r-- | sys/netnatm/natm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netnatm/natm.c b/sys/netnatm/natm.c index 257aa76..af80e11 100644 --- a/sys/netnatm/natm.c +++ b/sys/netnatm/natm.c @@ -133,7 +133,7 @@ natm_usr_detach(struct socket *so) */ npcb_free(npcb, NPCB_DESTROY); /* drain */ so->so_pcb = NULL; - sofree(so); + sotryfree(so); out: splx(s); return (error); @@ -481,7 +481,7 @@ struct proc *p; npcb_free(npcb, NPCB_DESTROY); /* drain */ so->so_pcb = NULL; - sofree(so); + sotryfree(so); break; |