commit | a18fb07623813aaee1a69873c785865695a32c9e | [log] [tgz] |
---|---|---|
author | Chen Tao <chentao107@huawei.com> | Fri Jun 19 18:42:40 2020 +0800 |
committer | Tony Lindgren <tony@atomide.com> | Tue Jul 14 08:03:05 2020 -0700 |
tree | 133816a796990779ba1878aa2c3c7387534de1e6 | |
parent | a55de412228cc5a2b4bf8d2a09849898102633e2 [diff] |
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: 8c87970543b17("ARM: OMAP2+: Add functions to allocate module data from device tree") Signed-off-by: Chen Tao <chentao107@huawei.com> Reviewed-by: Paul Walmsley <paul@pwsan.com> [tony@atomide.com: fix call iounmap for missing regs] Signed-off-by: Tony Lindgren <tony@atomide.com>