commit | ab60707ffe9920b66b4fff5181b44b14cd091472 | [log] [tgz] |
---|---|---|
author | Jesper Juhl <jj@chaosbits.net> | Thu Feb 10 10:58:45 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sun Feb 13 11:21:15 2011 -0800 |
tree | d0baa22dfe87b87b0188ac0305d05fa7454a5c3c | |
parent | d3337de52af7fb0ebe605b02b740be4ee7dee9eb [diff] |
USB Network driver infrastructure: Fix leak when usb_autopm_get_interface() returns less than zero in kevent(). 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>