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

Greg KH (greg@kroah.com)
Fri, 14 Mar 2003 11:37:19 -0800


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/