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

From: Antoine Brodin <antoine.brodin_at_laposte.net>
Date: Sat, 3 Feb 2007 18:23:45 +0100
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
Received on Sat Feb 03 2007 - 17:39:07 UTC