diff options
author | Srinivasa Rao Mandadapu <[email protected]> | 2020-11-15 10:26:50 +0530 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-11-16 20:02:41 +0000 |
commit | bd6327fda2f3ded85b69b3c3125c99aaa51c7881 (patch) | |
tree | 887d124c1da68501e64e8871149add5d5fcaf0cc /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 1bd7b0fc0165694897b7d2fb39751a07b98f6bf1 (diff) |
ASoC: qcom: lpass-platform: Fix memory leak
lpass_pcm_data is not freed in error paths. Free it in
error paths to avoid memory leak.
Fixes: 022d00ee0b55 ("ASoC: lpass-platform: Fix broken pcm data usage")
Signed-off-by: Pavel Machek <[email protected]>
Signed-off-by: V Sujith Kumar Reddy <[email protected]>
Signed-off-by: Srinivasa Rao Mandadapu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions