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

2013-05-16 Thread Libo Chen
On 2013/5/15 19:55, Sergei Shtylyov wrote: > Hello. > > On 15-05-2013 5:35, Libo Chen wrote: > >> when omap_get_control_dev fail, we should release relational platform_device > >s/fail/fails/, s/relational/related/? > >> Signed-off-by: Libo Chen > >You've posted this to the wrong mail

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

2013-05-15 Thread Sergei Shtylyov
Hello. On 15-05-2013 5:35, Libo Chen wrote: when omap_get_control_dev fail, we should release relational platform_device s/fail/fails/, s/relational/related/? Signed-off-by: Libo Chen You've posted this to the wrong mailing list, linux-mips; devicetree-discuss also seems hardly re

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

2013-05-14 Thread Libo Chen
when omap_get_control_dev fail, we should release relational platform_device Signed-off-by: Libo Chen --- drivers/usb/musb/omap2430.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/usb/musb/omap2430.c b/drivers/usb/musb/omap2430.c index 3551f1a..b626f19 10064