cvs commit: src/sys/dev/usb uipaq.c

Antoine Brodin antoine.brodin at laposte.net
Sat Feb 3 17:39:07 UTC 2007


Warner Losh <imp at FreeBSD.org> wrote:
> imp         2007-02-03 16:33:48 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/dev/usb          uipaq.c 
>   Log:
>   Fix non-use, but not memory leak, of devinfop.  Set the device's
>   description here.  The fix in the PR isn't necessary at all for memory
>   leaks, but we weren't setting the device description.
>   
>   While I'm here, remove some of the obfuscating macros in attach.
>   
>   PR: 108719
>   
>   Revision  Changes    Path
>   1.2       +22 -39    src/sys/dev/usb/uipaq.c

Hi Warner,

devinfop is leaked in the "goto bad;" case isn't it ?

Cheers,

Antoine


More information about the cvs-src mailing list