kernel_samsung_a53x/sound/core
Christophe JAILLET 0ffb99e62d ALSA: mixer_oss: Remove some incorrect kfree_const() usages
[ Upstream commit 368e4663c557de4a33f321b44e7eeec0a21b2e4e ]

"assigned" and "assigned->name" are allocated in snd_mixer_oss_proc_write()
using kmalloc() and kstrdup(), so there is no point in using kfree_const()
to free these resources.

Switch to the more standard kfree() to free these resources.

This could avoid a memory leak.

Fixes: 454f5ec1d2b7 ("ALSA: mixer: oss: Constify snd_mixer_oss_assign_table definition")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://patch.msgid.link/63ac20f64234b7c9ea87a7fa9baf41e8255852f7.1727374631.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-23 23:21:36 +01:00
..
oss ALSA: mixer_oss: Remove some incorrect kfree_const() usages 2024-11-23 23:21:36 +01:00
seq ALSA: seq: fix function cast warnings 2024-11-19 08:44:53 +01:00
compress_offload.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
control.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
control_compat.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ctljack.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
device.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hrtimer.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hwdep.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hwdep_compat.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
info.c ALSA: info: Fix potential deadlock at disconnection 2024-11-18 11:43:26 +01:00
info_oss.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
init.c ALSA: core: Fix NULL module pointer assignment at card init 2024-11-19 12:26:51 +01:00
isadma.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
jack.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile ALSA: Drop leftover snd-rtctimer stuff from Makefile 2024-11-18 23:18:29 +01:00
memalloc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
memory.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
misc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pcm.c ALSA: pcm: fix out-of-bounds in snd_pcm_state_names 2024-11-18 12:11:41 +01:00
pcm_compat.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pcm_dmaengine.c ALSA: pcm_dmaengine: Don't synchronize DMA channel when DMA is paused 2024-11-19 14:19:52 +01:00
pcm_drm_eld.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pcm_iec958.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pcm_lib.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pcm_local.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pcm_memory.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pcm_misc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pcm_native.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pcm_param_trace.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pcm_timer.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pcm_trace.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rawmidi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rawmidi_compat.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
seq_device.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sgbuf.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sound.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sound_oss.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
timer.c ALSA: timer: Relax start tick time check for slave timer elements 2024-11-23 23:20:50 +01:00
timer_compat.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vmaster.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00