diff options
author | Stefan Weil <weil@mail.berlios.de> | 2011-01-30 20:26:27 +0100 |
---|---|---|
committer | Kevin Hilman <khilman@ti.com> | 2011-01-31 21:59:15 +0100 |
commit | 720bc782249015a30438516cee5c4be180a3f675 (patch) | |
tree | 2cd247c2da8924edd6e192ea4223825b6fa0d225 /arch/Kconfig | |
parent | arm: mach-omap2: voltage: debugfs: fix memory leak (diff) | |
download | linux-720bc782249015a30438516cee5c4be180a3f675.tar.xz linux-720bc782249015a30438516cee5c4be180a3f675.zip |
OMAP: PM: SmartReflex: Fix possible memory leak
sr_info was allocated and needs a kfree before returning.
This error was reported by cppcheck:
arch/arm/mach-omap2/smartreflex.c:837: error: Memory leak: sr_info
To: Tony Lindgren <tony@atomide.com>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: linux-omap@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Acked-by: Shweta Gulati <shweta.gulati@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/Kconfig')
0 files changed, 0 insertions, 0 deletions