summaryrefslogtreecommitdiff
path: root/sound/pci
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2024-09-26 20:17:36 +0200
committerTakashi Iwai <tiwai@suse.de>2024-09-30 10:12:08 +0200
commit368e4663c557de4a33f321b44e7eeec0a21b2e4e (patch)
tree0d5069cd1b26c13a7d44b2580190ba806623b6ce /sound/pci
parentdee476950cbd83125655a3f49e00d63b79f6114e (diff)
ALSA: mixer_oss: Remove some incorrect kfree_const() usages
"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>
Diffstat (limited to 'sound/pci')
0 files changed, 0 insertions, 0 deletions