tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Brainy: Memory Leak in if_ieee1394



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);
> 			goto bad;
> 		}

Looks good to me.

	-is
-- 
A medium apple... weighs 182 grams, yields 95 kcal, and contains no
caffeine, thus making it unsuitable for sysadmins. - Brian Kantor


Home | Main Index | Thread Index | Old Index