Messages in this thread | | | Date | Sun, 13 Feb 2011 11:21:32 -0800 (PST) | Subject | Re: [PATCH] USB Network driver infrastructure: Fix leak when usb_autopm_get_interface() returns less than zero in kevent(). | From | David Miller <> |
| |
From: Jesper Juhl <jj@chaosbits.net> Date: Thu, 10 Feb 2011 21:58:45 +0100 (CET)
> 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>
Applied.
| |