ALSA: fix possible memory leak in snd_mixer_oss_build_input()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Sun, 2 Sep 2012 14:10:27 +0000 (22:10 +0800)
committerTakashi Iwai <tiwai@suse.de>
Mon, 3 Sep 2012 08:08:28 +0000 (10:08 +0200)
uinfo has been allocated in this function and should be
freed before leaving from the error handling cases.

spatch with a semantic match is used to found this problem.
(http://coccinelle.lip6.fr/)

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found