Re: [U-Boot] drivers/elbc:Memory leak fix

2015-05-23 Thread Scott Wood
: [U-Boot] drivers/elbc:Memory leak fix On Wed, May 20, 2015 at 02:54:58PM +0530, Raghav Dogra wrote: Freeing allocated memory to priv before returning from the function Signed-off-by: Raghav Dogra rag...@freescale.com --- drivers/mtd/nand/fsl_elbc_nand.c | 1 + 1 file

Re: [U-Boot] drivers/elbc:Memory leak fix

2015-05-23 Thread Timur Tabi
On Fri, May 22, 2015 at 9:55 PM, Kushwaha Prabhakar prabha...@freescale.com wrote: It is not getting catch during GCC build. But during static analysis using Klockwork, this is shown as error. Then Klockwork is wrong. ___ U-Boot mailing list

Re: [U-Boot] drivers/elbc:Memory leak fix

2015-05-22 Thread Scott Wood
On Wed, May 20, 2015 at 02:54:58PM +0530, Raghav Dogra wrote: Freeing allocated memory to priv before returning from the function Signed-off-by: Raghav Dogra rag...@freescale.com --- drivers/mtd/nand/fsl_elbc_nand.c | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [U-Boot] drivers/elbc:Memory leak fix

2015-05-22 Thread Kushwaha Prabhakar
-Original Message- From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Scott Wood Sent: Saturday, May 23, 2015 1:57 AM To: Dogra Raghav-B46184 Cc: u-boot@lists.denx.de; Sun York-R58495 Subject: Re: [U-Boot] drivers/elbc:Memory leak fix On Wed, May 20, 2015 at 02:54