Skip to content
Commit a18fb076 authored by Chen Tao's avatar Chen Tao Committed by Tony Lindgren
Browse files

ARM: OMAP2+: Fix possible memory leak in omap_hwmod_allocate_module

Fix memory leak in omap_hwmod_allocate_module not freeing in
handling error path.

Fixes: 8c879705

("ARM: OMAP2+: Add functions to allocate module data from device tree")
Signed-off-by: default avatarChen Tao <chentao107@huawei.com>
Reviewed-by: default avatarPaul Walmsley <paul@pwsan.com>
[tony@atomide.com: fix call iounmap for missing regs]
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent a55de412
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment