diff options
| author | Don Lewis <truckman@FreeBSD.org> | 1999-05-10 18:09:39 +0000 |
|---|---|---|
| committer | Don Lewis <truckman@FreeBSD.org> | 1999-05-10 18:09:39 +0000 |
| commit | bd508d391b5258e9ee145bc15161b62664c95fbb (patch) | |
| tree | 39dd85b7f44ae4bd58df9c6b1e24769141a495ef /sys/kern/uipc_usrreq.c | |
| parent | 38fc822d7fef6a1bbff3793f7c3f3fccfff4e800 (diff) | |
Notes
Diffstat (limited to 'sys/kern/uipc_usrreq.c')
| -rw-r--r-- | sys/kern/uipc_usrreq.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/kern/uipc_usrreq.c b/sys/kern/uipc_usrreq.c index 52823bee2c65..2b18eb5a10f6 100644 --- a/sys/kern/uipc_usrreq.c +++ b/sys/kern/uipc_usrreq.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * From: @(#)uipc_usrreq.c 8.3 (Berkeley) 1/4/94 - * $Id: uipc_usrreq.c,v 1.42 1999/04/12 14:34:52 eivind Exp $ + * $Id: uipc_usrreq.c,v 1.43 1999/04/28 11:37:07 phk Exp $ */ #include <sys/param.h> @@ -367,6 +367,9 @@ uipc_send(struct socket *so, int flags, struct mbuf *m, struct sockaddr *nam, unp_shutdown(unp); } + if (control && error != 0) + unp_dispose(control); + release: if (control) m_freem(control); |
