Home
last modified time | relevance | path

Searched hist:ab60707ffe9920b66b4fff5181b44b14cd091472 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/usb/
H A Dusbnet.cdiff ab60707ffe9920b66b4fff5181b44b14cd091472 Thu Feb 10 04:58:45 CST 2011 Jesper Juhl <jj@chaosbits.net> 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>