summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarkus <markus@openbsd.org>2005-10-12 15:17:18 +0000
committermarkus <markus@openbsd.org>2005-10-12 15:17:18 +0000
commiteb1e05550d1c9efad5c0f441150ea292e6a1178d (patch)
tree836d8ab66fd3ba023499fb4b431553a6a557c632
parentshrink stripcom(), sync with install.sub (diff)
downloadwireguard-openbsd-eb1e05550d1c9efad5c0f441150ea292e6a1178d.tar.xz
wireguard-openbsd-eb1e05550d1c9efad5c0f441150ea292e6a1178d.zip
no need to call mfree() since m is always NULL; from Andrey Matveev
-rw-r--r--sys/net/bridgestp.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/net/bridgestp.c b/sys/net/bridgestp.c
index ac9bbbac61e..73304bfbed5 100644
--- a/sys/net/bridgestp.c
+++ b/sys/net/bridgestp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bridgestp.c,v 1.18 2005/06/07 17:53:44 deraadt Exp $ */
+/* $OpenBSD: bridgestp.c,v 1.19 2005/10/12 15:17:18 markus Exp $ */
/*
* Copyright (c) 2000 Jason L. Wright (jason@thought.net)
@@ -423,10 +423,7 @@ bstp_transmit_tcn(sc)
if (error == 0 && (ifp->if_flags & IFF_OACTIVE) == 0)
(*ifp->if_start)(ifp);
m = NULL;
-
splx(s);
- if (m != NULL)
- m_freem(m);
}
void