Le 30/04/2015 18:01, Christos Zoulas a écrit :
> Module Name:  src
> Committed By: christos
> Date:         Thu Apr 30 16:01:52 UTC 2015
> 
> Modified Files:
>       src/sys/dev/bluetooth: bcsp.c
> 
> Log Message:
> Fix more memory leaks by changing the transmit routines to always free the
> mbuf to send.
> 
> 
> To generate a diff of this commit:
> cvs rdiff -u -r1.26 -r1.27 src/sys/dev/bluetooth/bcsp.c
> 

Why didn't you put a goto out here:

1369:                if (_m->m_len < 0)
1370:                        return false;

?

Reply via email to