linux-stable/sound
Dan Carpenter 67f29cd2f8 ASoC: pxa: fix a memory leak in probe()
[ Upstream commit aa6464edbd ]

Free the "priv" pointer before returning the error code.

Fixes: 90eb6b59d3 ("ASoC: pxa-ssp: add support for an external clock in devicetree")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/84ac2313-1420-471a-b2cb-3269a2e12a7c@moroto.mountain
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-10-25 11:59:03 +02:00
..
ac97
aoa ALSA: aoa: Fix I2S device accounting 2022-11-03 23:59:18 +09:00
arm
atmel
core ALSA: pcm: Fix missing fixup call in compat hw_refine ioctl 2023-09-19 12:22:50 +02:00
drivers ALSA: mts64: fix possible null-ptr-defer in snd_mts64_interrupt 2022-12-31 13:14:16 +01:00
firewire ALSA: firewire-digi00x: prevent potential use after free 2023-05-24 17:36:49 +01:00
hda ALSA: hda: intel-dsp-cfg: add LunarLake support 2023-09-23 11:09:57 +02:00
i2c ALSA: i2c/cs8427: fix iec958 mixer control deactivation 2023-04-20 12:13:51 +02:00
isa ALSA: wavefront: Proper check of get_user() error 2022-05-25 09:57:27 +02:00
mips
oss sound/oss/dmasound: fix 'dmasound_setup' defined but not used 2023-05-11 23:00:40 +09:00
parisc
pci ALSA: hda: Disable power save for solving pop issue on Lenovo ThinkCentre M70q 2023-10-06 13:18:21 +02:00
pcmcia
ppc
sh
soc ASoC: pxa: fix a memory leak in probe() 2023-10-25 11:59:03 +02:00
sparc
spi ALSA: spi: Add check for clk_enable() 2022-04-08 14:23:19 +02:00
synth ALSA: emux: Avoid potential array out-of-bound in snd_emux_xg_control() 2023-02-14 19:17:56 +01:00
usb ALSA: usb-audio: Fix microphone sound on Opencomm2 Headset 2023-10-19 23:05:33 +02:00
virtio
x86 ALSA: intel_hdmi: Fix the missing snd_card_free() call at probe error 2022-04-20 09:34:07 +02:00
xen
ac97_bus.c
Kconfig um: Fix hostaudio build errors 2023-09-19 12:22:49 +02:00
last.c
Makefile
sound_core.c