linux/sound/soc/qcom
Srinivasa Rao Mandadapu bd6327fda2
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: 022d00ee0b ("ASoC: lpass-platform: Fix broken pcm data usage")
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: V Sujith Kumar Reddy <vsujithk@codeaurora.org>
Signed-off-by: Srinivasa Rao Mandadapu <srivasam@codeaurora.org>
Link: https://lore.kernel.org/r/1605416210-14530-1-git-send-email-srivasam@codeaurora.org
Signed-off-by: Mark Brown <broonie@kernel.org>
2020-11-16 20:02:41 +00:00
..
qdsp6 ASoC: q6afe-clocks: Fix typo in SPDX Licence 2020-09-28 11:32:13 +01:00
Kconfig ASoC: qcom: Add support for lpass hdmi driver 2020-10-08 20:27:34 +01:00
Makefile ASoC: qcom: Add support for lpass hdmi driver 2020-10-08 20:27:34 +01:00
apq8016_sbc.c ASoC: qcom: Set card->owner to avoid warnings 2020-08-21 16:12:10 +01:00
apq8096.c ASoC: qcom: Set card->owner to avoid warnings 2020-08-21 16:12:10 +01:00
common.c Merge branch 'asoc-5.9' into asoc-5.10 2020-09-17 16:35:38 +01:00
common.h ASoC: qcom: remove unused header files from common.h 2018-08-06 12:50:07 +01:00
lpass-apq8016.c ASoC: qcom: Add support for lpass hdmi driver 2020-10-08 20:27:34 +01:00
lpass-cpu.c ASoC: qcom: lpass-cpu: Fix clock disable failure 2020-10-29 12:24:14 +00:00
lpass-hdmi.c ASoC: qcom: Add support for lpass hdmi driver 2020-10-08 20:27:34 +01:00
lpass-hdmi.h ASoC: qcom: Add support for lpass hdmi driver 2020-10-08 20:27:34 +01:00
lpass-ipq806x.c ASoC: qcom: Add support for lpass hdmi driver 2020-10-08 20:27:34 +01:00
lpass-lpaif-reg.h ASoC: qcom: Add support for lpass hdmi driver 2020-10-08 20:27:34 +01:00
lpass-platform.c ASoC: qcom: lpass-platform: Fix memory leak 2020-11-16 20:02:41 +00:00
lpass-sc7180.c ASoC: qcom: lpass-sc7180: Fix MI2S bitwidth field bit positions 2020-10-29 12:24:13 +00:00
lpass.h ASoC: qcom: Add support for lpass hdmi driver 2020-10-08 20:27:34 +01:00
sdm845.c ASoC: qcom: sdm845: set driver name correctly 2020-10-23 18:28:50 +01:00
storm.c ASoC: qcom: Set card->owner to avoid warnings 2020-08-21 16:12:10 +01:00