Messages in this thread | | | From | Linus WALLEIJ <> | Date | Tue, 25 May 2010 09:02:57 +0200 | Subject | RE: ab3100-otp: fix memory leak in ab3100_otp_probe |
| |
[Axel]
> In current implementation, there is a memory leak if ab3100_otp_read fail. > And in the case of ab3100_otp_init_debugfs fail, it does not properly > remove > sysfs entries. > This patch properly handle above failure cases. > > Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Thanks for fixing this!
Yours, Linus Walleij
| |