[PATCH] OMAP: Fix Memory leak

2010-05-20 Thread Manjunatha GK
From: Satish x0124...@ti.com The memory allocated for sgt structure is not freed on error when sg_alloc_table is called in sg_alloc_table(). Signed-off-by: Satish Kumar x0124...@ti.com Signed-off-by: Manjunatha GK manj...@ti.com Cc: Tony Lindgren t...@atomide.com --- arch/arm/plat-omap/iovmm.c

Re: [PATCH] OMAP: Fix Memory leak

2010-05-20 Thread Vimal Singh
On Thu, May 20, 2010 at 7:59 PM, Manjunatha GK manj...@ti.com wrote: From: Satish x0124...@ti.com The memory allocated for sgt structure is not freed on error when sg_alloc_table is called in sg_alloc_table(). Typo mistake: correct sg_alloc_table to sgtable_alloc for second time. --