Re: [PATCH v2] usb: omap2430: fix memleak in err case

From: Sergei Shtylyov
Date: Tue May 28 2013 - 13:40:32 EST


Hello.

On 22-05-2013 7:30, Libo Chen wrote:

when omap_get_control_dev faild, we should release related platform_device

* Changelog from v1:
* fix spell: s/fail/fails/, s/relational/related/ , thank Sergei <sergei.shtylyov@xxxxxxxxxxxxxxxxxx>

It seems you've actually replaced "fail" with "faild", not "fails".

Signed-off-by: Libo Chen <libo.chen@xxxxxxxxxx>
---
drivers/usb/musb/omap2430.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)

WBR, Sergei

--
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/