OMAP2+: PM: SmartReflex: fix memory leaks in Smartreflex driver

This Patch frees all the dynamically allocated memory
which couldn't have been released in some error hitting cases.

Signed-off-by: Shweta Gulati <shweta.gulati@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
This commit is contained in:
Shweta Gulati 2011-02-15 13:40:30 +05:30 • committed by Kevin Hilman
commit b3329a33b5