summaryrefslogtreecommitdiff
path: root/sys/netipx
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>2002-03-26 19:12:57 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>2002-03-26 19:12:57 +0000
commit27acdfd63f6305a453113b9ab926271f446aee9d (patch)
treeb27090f178dd0d283ac83b4a066080f468e812fa /sys/netipx
parent410d402f1b156d84b76644d151604fdea02eb25b (diff)
m_freem(NULL) bad style, ok jason@
Diffstat (limited to 'sys/netipx')
-rw-r--r--sys/netipx/spx_usrreq.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netipx/spx_usrreq.c b/sys/netipx/spx_usrreq.c
index ef961ea9e73..6fbac821bc4 100644
--- a/sys/netipx/spx_usrreq.c
+++ b/sys/netipx/spx_usrreq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: spx_usrreq.c,v 1.17 2001/09/23 10:22:13 mickey Exp $ */
+/* $OpenBSD: spx_usrreq.c,v 1.18 2002/03/26 19:12:56 niklas Exp $ */
/*-
*
@@ -810,7 +810,6 @@ spx_output(cb, m0)
if (m0->m_len < sizeof(*sh)) {
if((m0 = m_pullup(m0, sizeof(*sh))) == NULL) {
(void) m_free(m);
- m_freem(m0);
return (EINVAL);
}
m->m_next = m0;