linux-stable/sound
Dan Carpenter 4daaa482fb 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:17:02 +02:00
..
ac97 ALSA: ac97: fix PM reference leak in ac97_bus_remove() 2021-07-20 16:16:08 +02:00
aoa ALSA: aoa: Fix I2S device accounting 2022-11-03 23:52:33 +09:00
arm
atmel
core ALSA: pcm: Fix missing fixup call in compat hw_refine ioctl 2023-09-23 10:48:10 +02:00
drivers ALSA: mts64: fix possible null-ptr-defer in snd_mts64_interrupt 2023-01-18 11:30:15 +01:00
firewire ALSA: fireworks: fix wrong return count shorter than expected by 4 bytes 2022-05-12 12:20:23 +02:00
hda ALSA: hda: fix potential memleak in 'add_widget_node' 2022-11-25 17:40:18 +01:00
i2c ALSA: i2c/cs8427: fix iec958 mixer control deactivation 2023-04-20 12:04:39 +02:00
isa treewide: Remove uninitialized_var() usage 2023-08-11 11:45:01 +02:00
mips
oss
parisc
pci ALSA: hda: Disable power save for solving pop issue on Lenovo ThinkCentre M70q 2023-10-10 21:44:59 +02:00
pcmcia Merge branch 'for-linus' into topic/virmidi 2018-07-29 22:39:29 +02:00
ppc ALSA: ppc: fix error return code in snd_pmac_probe() 2021-07-20 16:16:09 +02:00
sh ALSA: sh: Fix compile warning wrt const 2020-02-24 08:34:45 +01:00
soc ASoC: pxa: fix a memory leak in probe() 2023-10-25 11:17:02 +02:00
sparc ALSA: sparc: Fix invalid snd_free_pages() at error path 2018-12-05 19:32:08 +01:00
spi ALSA: spi: Add check for clk_enable() 2022-04-15 14:14:45 +02:00
synth ALSA: emux: Avoid potential array out-of-bound in snd_emux_xg_control() 2023-02-22 12:47:16 +01:00
usb ALSA: usb-audio: Add support for Mythware XA001AU capture and playback interfaces. 2023-08-30 16:31:49 +02:00
x86 ALSA: intel_hdmi: Fix reference to PCM buffer address 2022-03-08 19:04:07 +01:00
xen ALSA: xen: Use standard pcm_format_to_bits() for ALSA format bits 2018-07-27 09:05:34 +02:00
Kconfig um: Fix hostaudio build errors 2023-09-23 10:48:09 +02:00
Makefile
ac97_bus.c
last.c
sound_core.c sound: fix a memory leak bug 2019-08-16 10:12:39 +02:00