diff options
| author | Stefan Weil <[email protected]> | 2011-01-30 20:26:27 +0100 |
|---|---|---|
| committer | Kevin Hilman <[email protected]> | 2011-01-31 12:59:15 -0800 |
| commit | 720bc782249015a30438516cee5c4be180a3f675 (patch) | |
| tree | 2cd247c2da8924edd6e192ea4223825b6fa0d225 /net/lapb/lapb_subr.c | |
| parent | 62270119867131d6d11fe018f1fafcf0fa2933e3 (diff) | |
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 <[email protected]>
Cc: Russell King <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Stefan Weil <[email protected]>
Acked-by: Shweta Gulati <[email protected]>
Signed-off-by: Kevin Hilman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions