Re: [2.4] Memleak in drivers/usb/hub.c::usb_reset_device

From: Greg KH (greg@kroah.com)
Date: Fri Mar 14 2003 - 14:37:19 EST


On Wed, Mar 12, 2003 at 10:41:33PM +0300, Oleg Drokin wrote:
> Hello!
>
> There seems to be a memleak in drivers/usb/hub.c::usb_reset_device()
> on error exit path. See the patch.
> Found with help of smatch + enhanced unfree script.

Applied to my tree, thanks.

And yes, as David said, there is another kind of error in this area for
2.5. Patches to clean that up would be appreciated.

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Mar 15 2003 - 22:00:41 EST