]> Git Repo - linux.git/commit
OMAP: hsmmc: fix memory leak
authorAaro Koskinen <[email protected]>
Thu, 4 Feb 2010 11:06:59 +0000 (13:06 +0200)
committerTony Lindgren <[email protected]>
Wed, 10 Feb 2010 17:20:33 +0000 (09:20 -0800)
commita6c7fdd29350a74ba5f76809436de9c3d6763009
tree0bd269342ae913bfc760453c57462558aa74e10d
parent80e1e823989ec44d8e35bdfddadbddcffec90424
OMAP: hsmmc: fix memory leak

The platform data allocated with kmalloc() will become unreachable once
the init is complete, so it should be freed. The problem was discovered
by kmemleak.

Signed-off-by: Aaro Koskinen <[email protected]>
Acked-by: Adrian Hunter <[email protected]>
Signed-off-by: Tony Lindgren <[email protected]>
arch/arm/mach-omap2/mmc-twl4030.c
This page took 0.05671 seconds and 4 git commands to generate.