diff options
author | glebius <glebius@FreeBSD.org> | 2013-10-07 12:07:40 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2013-10-07 12:07:40 +0000 |
commit | da5a57f39d5977b6f544bb7f1bc60a8f061cf197 (patch) | |
tree | 875ffd64c93b30e24294c1e5f1673b921514f9bc /sys/netinet6 | |
parent | 4ecb899fb0e09a90a4b490ec1146b56b16cb43c7 (diff) | |
download | FreeBSD-src-da5a57f39d5977b6f544bb7f1bc60a8f061cf197.zip FreeBSD-src-da5a57f39d5977b6f544bb7f1bc60a8f061cf197.tar.gz |
Fix mbuf leak.
Submitted by: Loganaden Velvindron <logan elandsys.com>
Obtained from: NetBSD
Approved by: re (kib)
Diffstat (limited to 'sys/netinet6')
-rw-r--r-- | sys/netinet6/ip6_mroute.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/ip6_mroute.c b/sys/netinet6/ip6_mroute.c index 36d0d6f..6a5fb88 100644 --- a/sys/netinet6/ip6_mroute.c +++ b/sys/netinet6/ip6_mroute.c @@ -616,7 +616,7 @@ X_ip6_mrouter_done(void) for (rte = rt->mf6c_stall; rte != NULL; ) { struct rtdetq *n = rte->next; - m_free(rte->m); + m_freem(rte->m); free(rte, M_MRTABLE6); rte = n; } |