[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CEE6BB42CAD6E947908279175AF8470A025A7D7702@EXDCVYMBSTM006.EQ1STM.local>
Date: Tue, 25 May 2010 09:02:57 +0200
From: Linus WALLEIJ <linus.walleij@...ricsson.com>
To: Axel Lin <axel.lin@...il.com>,
linux-kernel <linux-kernel@...r.kernel.org>
Cc: Samuel Ortiz <sameo@...ux.intel.com>
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@...il.com>
Acked-by: Linus Walleij <linus.walleij@...ricsson.com>
Thanks for fixing this!
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists