Messages in this thread | | | Date | Thu, 9 May 2013 14:02:05 -0400 | From | Chris Metcalf <> | Subject | Re: [PATCH RESEND 4/4] usb: tilegx: fix memleak when create hcd fail |
| |
On 5/9/2013 2:08 AM, Libo Chen wrote: > When usb_create_hcd fail, we should call gxio_usb_host_destroy > > Signed-off-by: Libo Chen <libo.chen@huawei.com> > --- > drivers/usb/host/ohci-tilegx.c | 7 +++++-- > 1 files changed, 5 insertions(+), 2 deletions(-)
Thanks; taken into the tile tree. I also made the same change to ehci-tilegx.c.
-- Chris Metcalf, Tilera Corp. http://www.tilera.com
| |