Re: [PATCHv2] arm: mach-omap2: smartreflex: fix another memory leak

2011-02-14 Thread Kevin Hilman
Aaro Koskinen aaro.koski...@nokia.com writes: Temporary strings with volt_* file names should be released after the debugfs entries are created. While at it, also simplify the string allocation, and use just snprintf() to create the name. The patch eliminates kmemleak reports with the

RE: [PATCHv2] arm: mach-omap2: smartreflex: fix another memory leak

2011-02-07 Thread Vishwanath Sripathy
-Original Message- From: Aaro Koskinen [mailto:aaro.koski...@nokia.com] Sent: Monday, February 07, 2011 7:38 PM To: t...@atomide.com; linux-omap@vger.kernel.org; linux-arm- ker...@lists.infradead.org Cc: vishwanath...@ti.com; Aaro Koskinen Subject: [PATCHv2] arm: mach-omap2:

RE: [PATCHv2] arm: mach-omap2: smartreflex: fix another memory leak

2011-02-07 Thread Aaro Koskinen
Hi, On Mon, 7 Feb 2011, Vishwanath Sripathy wrote: Temporary strings with volt_* file names should be released after the debugfs entries are created. While at it, also simplify the string allocation, and use just snprintf() to create the name. The patch eliminates kmemleak reports with the