summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/netinet/udp_usrreq.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c
index 1e8fadb..0693a7e 100644
--- a/sys/netinet/udp_usrreq.c
+++ b/sys/netinet/udp_usrreq.c
@@ -151,7 +151,6 @@ udp_input(m, off)
register struct ip *ip;
register struct udphdr *uh;
register struct inpcb *inp;
- struct mbuf *opts = 0;
int len;
struct ip save_ip;
struct sockaddr_in udp_in;
@@ -399,8 +398,6 @@ badheadlocked:
INP_INFO_RUNLOCK(&udbinfo);
badunlocked:
m_freem(m);
- if (opts)
- m_freem(opts);
return;
}
OpenPOWER on IntegriCloud