summaryrefslogtreecommitdiffstats
path: root/sys/netinet6
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2013-10-07 12:07:40 +0000
committerglebius <glebius@FreeBSD.org>2013-10-07 12:07:40 +0000
commitda5a57f39d5977b6f544bb7f1bc60a8f061cf197 (patch)
tree875ffd64c93b30e24294c1e5f1673b921514f9bc /sys/netinet6
parent4ecb899fb0e09a90a4b490ec1146b56b16cb43c7 (diff)
downloadFreeBSD-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.c2
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;
}
OpenPOWER on IntegriCloud