WSL2-Linux-Kernel/sound/core/oss
Jesper Juhl 3daa7ea650 ALSA: Don't leak in sound/core/oss/pcm_oss.c::snd_pcm_hw_param_near()
snd_pcm_hw_param_near() will leak the memory allocated to 'save' if the
call to snd_pcm_hw_param_max() returns less than zero.
This patch makes sure we never leak.

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2011-01-10 11:13:42 +01:00
..
Makefile [ALSA] Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-16 16:51:18 +02:00
copy.c ALSA: Kill snd_assert() in sound/core/* 2008-08-13 11:46:35 +02:00
io.c ALSA: Kill snd_assert() in sound/core/* 2008-08-13 11:46:35 +02:00
linear.c ALSA: Kill snd_assert() in sound/core/* 2008-08-13 11:46:35 +02:00
mixer_oss.c Merge remote branch 'alsa/devel' into topic/misc 2010-10-11 13:56:12 +02:00
mulaw.c ALSA: Kill snd_assert() in sound/core/* 2008-08-13 11:46:35 +02:00
pcm_oss.c ALSA: Don't leak in sound/core/oss/pcm_oss.c::snd_pcm_hw_param_near() 2011-01-10 11:13:42 +01:00
pcm_plugin.c ALSA: Kill snd_assert() in sound/core/* 2008-08-13 11:46:35 +02:00
pcm_plugin.h ALSA: Add missing KERN_* prefix to printk in sound/core 2009-02-05 16:00:49 +01:00
rate.c ALSA: fix excessive background noise introduced by OSS emulation rate shrink 2009-02-23 07:49:04 +01:00
route.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00