diff options
author | 2010-12-07 16:25:40 -0800 | |
---|---|---|
committer | 2010-12-07 16:25:40 -0800 | |
commit | 5f3b7284cb35c9e3eead279cb35f017b9735bb43 (patch) | |
tree | 3209cd1cd21e96fd5abaae88acacc00fb46f4c38 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | omap: Ptr "isr_reg" tracked as NULL was dereferenced (diff) | |
download | wireguard-linux-5f3b7284cb35c9e3eead279cb35f017b9735bb43.tar.xz wireguard-linux-5f3b7284cb35c9e3eead279cb35f017b9735bb43.zip |
omap: McBSP: Fix potential memory leak in omap_mcbsp_remove
Function omap_mcbsp_probe allocates struct omap_mcbsp *mcbsp but it is not
freed in omap_mcbsp_remove. Fix this, remove unneeded structure cleanups
and clk_disable calls since they are not needed here.
This is not problem currently but becomes if the mcbsp driver is ever
modularized.
Signed-off-by: Jarkko Nikula <jhnikula@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions