USB Network driver infrastructure: Fix leak when usb_autopm_get_interface() returns...
authorJesper Juhl <jj@chaosbits.net>
Thu, 10 Feb 2011 10:58:45 +0000 (10:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 13 Feb 2011 19:21:15 +0000 (11:21 -0800)
We'll leak the memory allocated to 'urb' in
drivers/net/usb/usbnet.c:kevent() when we 'goto fail_lowmem' and the 'urb'
variable goes out of scope while still completely unused.

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found