diff options
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/rtsock.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net/rtsock.c b/sys/net/rtsock.c index 67c79b6..e8e85eb 100644 --- a/sys/net/rtsock.c +++ b/sys/net/rtsock.c @@ -127,6 +127,7 @@ rts_attach(struct socket *so, int proto, struct proc *p) rp = sotorawcb(so); if (error) { splx(s); + so->so_pcb = NULL; free(rp, M_PCB); return error; } |