]> git.karo-electronics.de Git - linux-beck.git/commit
omap iommu: Fix Memory leak
authorSatish <x0124230@ti.com>
Wed, 9 Jun 2010 10:21:27 +0000 (13:21 +0300)
committerTony Lindgren <tony@atomide.com>
Wed, 9 Jun 2010 10:21:27 +0000 (13:21 +0300)
commit7f1225bd6e62c54edfa0a2464648ad9e4efb1313
treefb70cbe45d50b9728865db0417eb04dec12ca942
parent386f40c86d6c8d5b717ef20620af1a750d0dacb4
omap iommu: Fix Memory leak

The memory allocated for sgt structure is not freed on error
when sg_alloc_table is called in sgtable_alloc().

Signed-off-by: Satish Kumar <x0124230@ti.com>
Signed-off-by: Manjunatha GK <manjugk@ti.com>
Cc: Vimal Singh <vimal.newwork@gmail.com>
Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
Signed-off-by: Tony Lindgen <tony@atomide.com>
arch/arm/plat-omap/iovmm.c