Fix mbuf leak.
Submitted by: Loganaden Velvindron <logan elandsys.com> Obtained from: NetBSD Approved by: re (kib)
This commit is contained in:
parent
56f0ad0dcc
commit
491b520174
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user