ASoC: msm: Fix memleak in machine probe
In machine probe, incase of probe deferral
unmap for a ioremap address is missing.
This can result in memleak. Address it by
calling unmap whenever returning with
failure from probe function.
CRs-Fixed: 974426
Change-Id: I1d18ecff5f2a9ee6c66d1ae26071d438c887151b
Signed-off-by:
Laxminath Kasam <lkasam@codeaurora.org>
Loading
Please register or sign in to comment