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

M. Warner Losh imp at bsdimp.com
Sat Feb 3 18:28:04 UTC 2007


In message: <20070203182345.c64553e6.antoine.brodin at laposte.net>
            Antoine Brodin <antoine.brodin at laposte.net> writes:
: 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 ?

oops, you are correct.

Warner


More information about the cvs-src mailing list