diff options
author | Jesper Juhl | 2011-01-06 22:19:47 +0100 |
---|---|---|
committer | Takashi Iwai | 2011-01-10 11:13:42 +0100 |
commit | 3daa7ea650d59ae86926f0ced4c4ccd99ab33fda (patch) | |
tree | 775ded9a8f63af06d45c79fceac55be3126c36f6 /drivers/block/umem.c | |
parent | ALSA: azt3328: improve snd_azf3328_codec_setdmaa() (diff) | |
download | kernel-qcow2-linux-3daa7ea650d59ae86926f0ced4c4ccd99ab33fda.tar.gz kernel-qcow2-linux-3daa7ea650d59ae86926f0ced4c4ccd99ab33fda.tar.xz kernel-qcow2-linux-3daa7ea650d59ae86926f0ced4c4ccd99ab33fda.zip |
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>
Diffstat (limited to 'drivers/block/umem.c')
0 files changed, 0 insertions, 0 deletions