linux/sound
Srinivasa Rao Mandadapu 32ebbc8469 ASoC: qcom: lpass-platform: Fix memory leak
[ Upstream commit bd6327fda2 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-11-24 13:29:07 +01:00
..
ac97 ALSA: ac97: Fix double free of ac97_codec_device 2019-07-23 14:16:11 +02:00
aoa
arm
atmel
core ALSA: seq: oss: Avoid mutex lock for a long-time ioctl 2020-10-29 09:57:41 +01:00
drivers ALSA: opl3: fix infoleak in opl3 2020-07-16 08:16:42 +02:00
firewire ALSA: bebob: potential info leak in hwdep_read() 2020-10-29 09:57:25 +01:00
hda ALSA: hda: prevent undefined shift in snd_hdac_ext_bus_get_link() 2020-11-18 19:20:18 +01:00
i2c
isa ALSA: isa/wavefront: prevent out of bounds write in ioctl 2020-06-24 17:50:11 +02:00
mips
oss
parisc
pci ALSA: hda: Reinstate runtime_allow() for all hda controllers 2020-11-18 19:20:22 +01:00
pcmcia
ppc
sh
soc ASoC: qcom: lpass-platform: Fix memory leak 2020-11-24 13:29:07 +01:00
sparc
spi
synth
usb ALSA: usb-audio: Add implicit feedback quirk for MODX 2020-11-10 12:37:27 +01:00
x86
xen
Kconfig
Makefile
ac97_bus.c
last.c
sound_core.c