Re: [PATCH RESEND 4/4] usb: tilegx: fix memleak when create hcd fail
From: Libo Chen
Date: Thu May 09 2013 - 21:52:10 EST
On 2013/5/10 9:09, Libo Chen wrote:
> On 2013/5/10 2:02, Chris Metcalf wrote:
>> 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@xxxxxxxxxx>
>>> ---
>>> 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.
>>
>
> Hi Chris,
>
> Thanks reply, May be I miss. Please ignore this patch.
Sorry, this patch is ok, no problem.
>
>
>
> .
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/