Permalink
Browse files

Fix mbuf leak.

Submitted by:	Loganaden Velvindron <logan elandsys.com>
Obtained from:	NetBSD
Approved by:	re (kib)
  • Loading branch information...
1 parent 4ecb899 commit da5a57f39d5977b6f544bb7f1bc60a8f061cf197 @glebius glebius committed Oct 7, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;
}

0 comments on commit da5a57f

Please sign in to comment.