Re: Brainy: Memory Leak in if_ieee1394

2015-07-26 Thread Ignatios Souvatzis
Hi, On Sat, Jul 25, 2015 at 10:28:21AM +0200, Maxime Villard wrote: there is a memory leak here: --- sys/net/if_ieee1394subr.c -- ... I think a correct fix would be: if (m-m_next == NULL) { m_freem(m);

Brainy: Memory Leak in if_ieee1394

2015-07-25 Thread Maxime Villard
Hi, there is a memory leak here: --- sys/net/if_ieee1394subr.c -- MGETHDR(m, M_DONTWAIT, MT_HEADER); if (m == NULL) goto bad; m-m_flags |= m0-m_flags (M_BCAST|M_MCAST); /* copy bcast