From: Jesper Juhl Date: Thu, 6 Jan 2011 21:19:47 +0000 (+0100) Subject: ALSA: Don't leak in sound/core/oss/pcm_oss.c::snd_pcm_hw_param_near() X-Git-Tag: v2.6.38-rc1~236^2~2^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3daa7ea650d59ae86926f0ced4c4ccd99ab33fda;p=pandora-kernel.git 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 Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed