]> git.hungrycats.org Git - linux/commit
[PATCH] USB speedtouch: fix memory leak in error path
authorDuncan Sands <baldrick@free.fr>
Wed, 14 Apr 2004 02:50:29 +0000 (19:50 -0700)
committerGreg Kroah-Hartman <greg@kroah.com>
Wed, 14 Apr 2004 02:50:29 +0000 (19:50 -0700)
commit192fda431429b6a9fa5f9d0e307e2bfee7301564
tree6390512bd4cb1f8d139f174b51994c3a4ca363a7
parent555371f675a0184d2823d1c53ea591ceca220eeb
[PATCH] USB speedtouch: fix memory leak in error path

Hi Greg, this patch fixes a memory leak in the speedtouch driver.
The leak occurs when the ATM layer submits a skbuff for transmission,
but the driver rejects it (because the device has been unplugged for
example).  The ATM layer requires the driver to free the skbuff in this
case.  The patch is against your 2.6 kernel tree.
drivers/usb/misc/speedtch.c