diff options
| author | Don Lewis <truckman@FreeBSD.org> | 1999-05-10 18:36:34 +0000 |
|---|---|---|
| committer | Don Lewis <truckman@FreeBSD.org> | 1999-05-10 18:36:34 +0000 |
| commit | 102783de062218d51f86877df4721aacb944f074 (patch) | |
| tree | cc8d8e513ebbca9215c4d17f142db624004eaff8 /sys | |
| parent | 352fb2b7af7393f01572e9699ebf8b40da15029e (diff) | |
Notes
Diffstat (limited to 'sys')
| -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 e969523fcb79..a2c2e8e3d196 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.37.2.1 1999/02/15 01:18:25 dillon Exp $ + * $Id$ */ #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); |
